2023-07-16 19:00:09 +02:00
|
|
|
use crate::package::identifier::PackageIdentifier;
|
2023-07-16 20:06:38 +02:00
|
|
|
use crate::prelude::Arguments;
|
2023-07-16 19:00:09 +02:00
|
|
|
|
|
|
|
pub enum Command {
|
2023-07-16 20:06:38 +02:00
|
|
|
Install(Arguments, PackageIdentifier), // install a package from a remote source
|
2023-07-16 19:00:09 +02:00
|
|
|
Remove(PackageIdentifier), // remove a package from the local source
|
|
|
|
List, // list all packages in the local source
|
|
|
|
Update,
|
|
|
|
}
|