-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: test ci unit test automation (#69)
- Loading branch information
Showing
33 changed files
with
1,381 additions
and
663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,29 @@ | ||
//! # CLI Commands | ||
//! A module for all the commands that can be run from the CLI | ||
use clap::{Args, Subcommand}; | ||
use clap::{Args, Subcommand}; | ||
|
||
use crate::framework; | ||
|
||
|
||
#[derive(Subcommand)] | ||
pub enum Commands { | ||
// Initializes the developer environment with all the necessary directories including temporary ones for data storage | ||
Init {}, | ||
// Adds a new templated object to the project | ||
Add(AddArgs), | ||
// Spins up development infrastructure including a redpanda cluster and clickhouse database | ||
Dev{}, | ||
Dev {}, | ||
// Updates the redpanda cluster and clickhouse database with the latest objects | ||
Update{}, | ||
Update {}, | ||
// Stops development infrastructure | ||
Stop{}, | ||
Stop {}, | ||
// Clears all temporary data and stops development infrastructure | ||
Clean{}, | ||
Clean {}, | ||
} | ||
|
||
|
||
|
||
|
||
#[derive(Debug, Args)] | ||
#[command()] | ||
pub struct AddArgs { | ||
#[command(subcommand)] | ||
pub command: Option<framework::AddableObjects>, | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.