style: normalise command help
This commit is contained in:
@@ -2,7 +2,7 @@ use super::{Django, Link, Postgres};
|
||||
use clap::{Parser, Subcommand};
|
||||
use clap_complete::Shell;
|
||||
|
||||
/// A program for interacting with various dockerized applications.
|
||||
/// A program for interacting with various dockerized applications
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(author, version, about, long_about=None)]
|
||||
pub struct Ahab {
|
||||
|
||||
@@ -9,19 +9,19 @@ pub enum Django {
|
||||
/// Start a bash session in a fresh django container
|
||||
Bash,
|
||||
|
||||
/// Prepare empty management command 'command' in app 'app'.
|
||||
/// Prepare empty management command 'command' in app 'app'
|
||||
MakeCommand { app: PathBuf, name: String },
|
||||
|
||||
/// Run Django's manage.py makemigrations.
|
||||
/// Run Django's manage.py makemigrations
|
||||
Makemigrations,
|
||||
|
||||
/// Pass arguments to Django's manage.py.
|
||||
/// Pass arguments to Django's manage.py
|
||||
Manage {
|
||||
#[arg(trailing_var_arg = true, allow_hyphen_values = true)]
|
||||
rest: Vec<String>,
|
||||
},
|
||||
|
||||
/// Run Django's manage.py migrate.
|
||||
/// Run Django's manage.py migrate
|
||||
Migrate {
|
||||
#[arg(trailing_var_arg = true, allow_hyphen_values = true)]
|
||||
rest: Vec<String>,
|
||||
@@ -33,9 +33,9 @@ pub enum Django {
|
||||
rest: Vec<String>,
|
||||
},
|
||||
|
||||
/// Run Django's manage.py shell.
|
||||
/// Run Django's manage.py shell
|
||||
Shell,
|
||||
|
||||
/// Run Django's manage.py test.
|
||||
/// Run Django's manage.py test
|
||||
Test,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user