diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2022-07-26 12:57:03 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2022-07-26 12:57:03 -0300 |
commit | ad813cb3171007900bb1919fecde76d2a6976aee (patch) | |
tree | 63b4add3143693dd306928f6b833a0ba5a8b7a5b | |
parent | c4c208c15575e64907291d4567cd72d5ceb7c0ef (diff) | |
download | glam-ad813cb3171007900bb1919fecde76d2a6976aee.tar.gz glam-ad813cb3171007900bb1919fecde76d2a6976aee.tar.bz2 glam-ad813cb3171007900bb1919fecde76d2a6976aee.zip |
Better instructions
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/commands.rs | 1 | ||||
-rw-r--r-- | src/main.rs | 12 |
3 files changed, 14 insertions, 1 deletions
@@ -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 |