summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands.rs1
-rw-r--r--src/main.rs12
2 files changed, 13 insertions, 0 deletions
diff --git a/src/commands.rs b/src/commands.rs
index 4916234..7a09a8d 100644
--- a/src/commands.rs
+++ b/src/commands.rs
@@ -12,6 +12,7 @@ struct GlamObject {
packages: Vec<GlamPackage>
}
+// TODO: Add source/target folders
#[derive(Clone, Debug, Serialize, Deserialize)]
struct GlamPackage {
name : String,
diff --git a/src/main.rs b/src/main.rs
index 3726b23..6bd6410 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -31,16 +31,28 @@ enum Commands {
/// Install all packages on .glam file
Install {
+ // TODO: no_copy flag
+ //// Don't copy to target folder
+ // #[clap(short, long, required = false, takes_value = false)]
+ // no_copy: bool,
},
/// Update a single GLAM package
UpdatePackage {
/// Name of the package to update (default is all packages)
package_name: String,
+ // TODO: no_copy flag
+ //// Don't copy to target folder
+ // #[clap(short, long, required = false, takes_value = false)]
+ // no_copy: bool,
},
/// Update all GLAM packages
Update {
+ // TODO: no_copy flag
+ //// Don't copy to target folder
+ // #[clap(short, long, required = false, takes_value = false)]
+ // no_copy: bool,
},
/// Remove a GLAM package