Commit Graph

4 Commits

Author SHA1 Message Date
Ian Wijma 5dc0e68836 Introduced a new command: command_name
Implemented a new command "command_name" in the CLi with its associated functionalities in the relevant modules. The new command allows the user to set the name field in the manifest file. Main.rs was updated to handle this new command and exhaustive error handling was added to the main function. Also, improved the manifest module for better error handling and added functionalities for getting and setting manifest's name.
2024-01-05 22:03:47 +11:00
Ian Wijma 63d01ea03c Update manifest handling and integrate with command_init
Introduced a new 'manifest' module to manage manifest files and updated 'command_init' to utilize this module, replacing previously hard-coded functionalities. Added 'manifest' package dependencies to Cargo.lock and command_init's Cargo.toml files.
2024-01-05 21:15:34 +11:00
Ian Wijma b3d7c776e8 Add 'manifest' package and integrate it with 'command_init'
A new package named 'manifest' is introduced in this commit. It comprises a single structure and related functions for managing manifests. Additionally, 'command_init' has been altered to use this new module instead of using its previously hard-coded functionality. A reference to 'manifest' has also been added in the Cargo.lock and command_init/Cargo.toml files.
2024-01-05 20:11:17 +11:00
Ian Wijma b09a4a41ff Initiate Rust workspace with "mccli" and "command_init" packages
This commit creates a new Rust workspace which includes two packages: "command_init" and "mccli". The command line argument parsing for these packages is powered by the "clap" dependency. An automatically generated Cargo.lock file tracks all dependencies. Additionally, a .gitignore file was configured to prevent tracking of unnecessary build artifacts and IDE-specific files.
2024-01-05 19:27:19 +11:00