summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/commands.rs1
-rw-r--r--src/main.rs12
3 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index b0caa01..fb260f2 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ This is **not** a one-size-fits-all kind of solution. I created it because I wan
## Installing
The project only works on UNIX (Linux/Mac) machines. You need `git` installed for the commands to work.
-**This is a WIP project**, so I'm not too focused on providing releases; right now, the easiest way to install this project is via `cargo install`. This may change if this project gain traction.
+**This is a WIP project**, so I'm not too focused on providing releases; right now, the easiest way to install this project is via `cargo install godot-glam`. This may change if this project gain traction.
## Example
You can initialize your project (with meaningful `.gitignore` and `.gdignore` files) with:
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