Module: commands::dev
Contents
StructsDevArgs- Arguments for the ‘dev’ command.KillPortsArgs- Arguments for the ‘kill-ports’ command.ScaffoldLocalHookArgs- Arguments for thescaffold-local-hookcommand.SyncEnvArgs- Arguments for the ‘sync-env’ command.UpgradeArgs- Arguments for the ‘upgrade’ command.
DevCommands- Developer subcommands.
run- Executes the dev command.run_install_hooks_impl- Install the canonical git hooks into the current project’s.git-hooks/.run_scaffold_local_hook_impl- Scaffold a repo-specific.git-hooks/local-<hook>file from a kind template.
resq_cli::commands::dev::DevArgs
Struct Arguments for the ‘dev’ command. Fields:command: DevCommands- Dev subcommand to execute
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- CommandFactory
fn command<'b>() -> clap::Commandfn command_for_update<'b>() -> clap::Command
- Args
fn group_id() -> Option<clap::Id>fn augment_args<'b>(__clap_app: clap::Command) -> clap::Commandfn augment_args_for_update<'b>(__clap_app: clap::Command) -> clap::Command
- FromArgMatches
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn from_arg_matches_mut(__clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn update_from_arg_matches(self: & mut Self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>fn update_from_arg_matches_mut(self: & mut Self, __clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
resq_cli::commands::dev::DevCommands
Enum Developer subcommands. Variants:KillPorts(KillPortsArgs)- Kill processes listening on specified portsSyncEnv(SyncEnvArgs)- Sync environment variables from .env.example files to turbo.jsonUpgrade(UpgradeArgs)- Upgrade dependencies across all monorepo silosInstallHooks- Install git hooks from .git-hooks directoryScaffoldLocalHook(ScaffoldLocalHookArgs)- Scaffold a repo-specific.git-hooks/local-<hook>file
- Subcommand
fn augment_subcommands<'b>(__clap_app: clap::Command) -> clap::Commandfn augment_subcommands_for_update<'b>(__clap_app: clap::Command) -> clap::Commandfn has_subcommand(__clap_name: &str) -> bool
- FromArgMatches
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn from_arg_matches_mut(__clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn update_from_arg_matches(self: & mut Self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>fn update_from_arg_matches_mut<'b>(self: & mut Self, __clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
resq_cli::commands::dev::KillPortsArgs
Struct Arguments for the ‘kill-ports’ command. Fields:targets: Vec<String>- Ports or ranges (e.g. 8000 or 8000..8010)force: bool- Use SIGKILL instead of default SIGTERMyes: bool- Skip confirmation prompt
- Args
fn group_id() -> Option<clap::Id>fn augment_args<'b>(__clap_app: clap::Command) -> clap::Commandfn augment_args_for_update<'b>(__clap_app: clap::Command) -> clap::Command
- FromArgMatches
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn from_arg_matches_mut(__clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn update_from_arg_matches(self: & mut Self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>fn update_from_arg_matches_mut(self: & mut Self, __clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
- CommandFactory
fn command<'b>() -> clap::Commandfn command_for_update<'b>() -> clap::Command
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
resq_cli::commands::dev::ScaffoldLocalHookArgs
Struct Arguments for thescaffold-local-hook command.
Fields:
kind: String- Project kind.autodetects from root marker fileshook: String- Which hook to scaffold a local override for (e.g.pre-push).force: bool- Overwrite an existinglocal-<hook>file.
- CommandFactory
fn command<'b>() -> clap::Commandfn command_for_update<'b>() -> clap::Command
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Args
fn group_id() -> Option<clap::Id>fn augment_args<'b>(__clap_app: clap::Command) -> clap::Commandfn augment_args_for_update<'b>(__clap_app: clap::Command) -> clap::Command
- FromArgMatches
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn from_arg_matches_mut(__clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn update_from_arg_matches(self: & mut Self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>fn update_from_arg_matches_mut(self: & mut Self, __clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
resq_cli::commands::dev::SyncEnvArgs
Struct Arguments for the ‘sync-env’ command. Fields:tasks: String- Tasks to update in turbo.json (comma-separated)dry_run: bool- Preview changes without writing to turbo.jsonmax_depth: usize- Maximum directory depth to search
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Args
fn group_id() -> Option<clap::Id>fn augment_args<'b>(__clap_app: clap::Command) -> clap::Commandfn augment_args_for_update<'b>(__clap_app: clap::Command) -> clap::Command
- FromArgMatches
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn from_arg_matches_mut(__clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn update_from_arg_matches(self: & mut Self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>fn update_from_arg_matches_mut(self: & mut Self, __clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
- CommandFactory
fn command<'b>() -> clap::Commandfn command_for_update<'b>() -> clap::Command
resq_cli::commands::dev::UpgradeArgs
Struct Arguments for the ‘upgrade’ command. Fields:silo: String- Specific silo to upgrade (python, rust, js, cpp, csharp, nix, or all)
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Args
fn group_id() -> Option<clap::Id>fn augment_args<'b>(__clap_app: clap::Command) -> clap::Commandfn augment_args_for_update<'b>(__clap_app: clap::Command) -> clap::Command
- FromArgMatches
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn from_arg_matches_mut(__clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error>fn update_from_arg_matches(self: & mut Self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>fn update_from_arg_matches_mut(self: & mut Self, __clap_arg_matches: & mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
- CommandFactory
fn command<'b>() -> clap::Commandfn command_for_update<'b>() -> clap::Command
resq_cli::commands::dev::run
Function Executes the dev command.resq_cli::commands::dev::run_install_hooks_impl
Function Install the canonical git hooks into the current project’s.git-hooks/.
Errors
Returns an error if filesystem access orgit config invocation fails.
resq_cli::commands::dev::run_scaffold_local_hook_impl
Function Scaffold a repo-specific.git-hooks/local-<hook> file from a kind template.