fix: update to spec

This commit is contained in:
Strix 2023-10-14 22:39:42 +02:00
parent 2898d272fb
commit 7c08579ecc
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
3 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,8 @@
use crate::package::identifier::PackageIdentifier;
use crate::prelude::Arguments;
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
List, // list all packages in the local source
Update,

View file

@ -5,6 +5,7 @@ use std::str::FromStr;
use getopts::Options;
use log::{info, SetLoggerError};
mod prelude;
mod commands;
mod package;

1
pkgr/src/prelude.rs Normal file
View file

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