fix: update to spec
All checks were successful
/ check (push) Successful in 44s

This commit is contained in:
Didier Slof 2023-07-16 20:06:38 +02:00
parent 0bbdb9219f
commit c603c403b6
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 4 additions and 1 deletions

View file

@ -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,

View file

@ -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
View file

@ -0,0 +1 @@
pub struct Arguments(Vec<String>);