This commit is contained in:
parent
0bbdb9219f
commit
c603c403b6
3 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
use crate::package::identifier::PackageIdentifier;
|
use crate::package::identifier::PackageIdentifier;
|
||||||
|
use crate::prelude::Arguments;
|
||||||
|
|
||||||
pub enum Command {
|
pub enum Command {
|
||||||
Grab(PackageIdentifier), // grab a package from a remote source
|
Install(Arguments, PackageIdentifier), // install a package from a remote source
|
||||||
Remove(PackageIdentifier), // remove a package from the local source
|
Remove(PackageIdentifier), // remove a package from the local source
|
||||||
List, // list all packages in the local source
|
List, // list all packages in the local source
|
||||||
Update,
|
Update,
|
||||||
|
|
|
@ -5,6 +5,7 @@ use std::str::FromStr;
|
||||||
use getopts::Options;
|
use getopts::Options;
|
||||||
use log::{info, SetLoggerError};
|
use log::{info, SetLoggerError};
|
||||||
|
|
||||||
|
mod prelude;
|
||||||
mod commands;
|
mod commands;
|
||||||
mod package;
|
mod package;
|
||||||
|
|
||||||
|
|
1
pkgr/src/prelude.rs
Normal file
1
pkgr/src/prelude.rs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pub struct Arguments(Vec<String>);
|
Loading…
Reference in a new issue