Repository URL to install this package:
|
Version:
5.3.1 ▾
|
rbe
/
ideas.md
|
|---|
r <shortcut> - a shell function (like rce) that runs the most frecent rbe cmd exec command matching the shortcut. Think z for rce
r command disable r will disable it, at least for the session, so maybe have that in whatever file is sourced to get my r command if just creating a shell function doesn't work{{@...}} to expand a list-type var as separate args; using it on a non-list-type will have no special effect (a.k.a. it ignores the @ if used with a non-list-type).
echo {{var_name}} | xargs rbe c e <cmd_call> commands into <cmd_call> {{@var_name}}@ goes before the # in the pattern.# will have no effect_, the @ will have to be ignored, since _ forces temporary var{{...=>0}}), the indexed fallback will be ignored if the var exists@--var with the call to rbe c e)
@)**...** var loop to support this, so that processing can be done on it.
--arg-var-append
echo {{var_name}} | xargs rbe c e <cmd_call> commands into <cmd_call> with a special arg_var_append propertyrbe c erbe c e args after the list-style var expansion, so that's why I feel the behavior should be kept
gco-t and similar into gco t where t is mapped under a branches shorthand group and is expanded when provided as an arg to any command that ties itself to the branches shorthand groupshorthands.rbe.yaml, and allow local shorthandsshorthand top-level rbe sub-command
rbe shorthand create (aliased to init) command that will create a new empty shorthand grouprbe shorthand add (aliased to put) command that takes the first parameter of the shorthand group name, second parameter of the shorthand string (no spaces allowed), and third parameter of the expansion
--auto-create (aliased to --auto-init) flag is passed--auto-update (aliased to --auto-set) flag is passedrbe shorthand update (aliased to set) command that will update an existing shorthand mapping. First parameter is group name, second is shorthand string (no spaces allowed), and third is the new expansion
--auto-create (aliased to --auto-init) flag is passed
--auto-add (aliased to --auto-put) flag is passedrbe shorthand bulk-add (aliased to bulk-put, multi-add, and multi-put) command to add multiple entries at once. First parameter is the group name, followed by a varargs of key:value pairs
add, but with these differences:
--auto-update flag is specified, do not confirm on any of the overwrites--auto-update is not passed, confirm each overwrite, but give 5 options, [Y]es, [N]o, [A]ll, N[o]ne, and [S]ome. Yes/no will continue asking each time, but once we get All/None, we apply that answer to the remainder of the prompts (but not the ones already answered). "Some" will use checkboxes from inquirer.rb to get which onesrbe shorthand bulk-update (aliased to bulk-set, multi-update, and multi-set) command to add multiple entries at once. Parameters match bulk-add
update, but with these differences:
bulk-add, but with tweaks to match the differences between add and updaterbe shorthand delete (aliased to remove) command to remove individual entries from a shorthand group. The first parameter is the group name, followed by a varargs of the shorthands to drop
--auto-confirm flag is not passed
[Y]es and [N]o[A]ll, N[o]ne, and [S]ome, with handling similar to how bulk-add handles these options--auto-drop (aliased to --auto-clean) flag is specified, in which case it is automatically confirmedrbe shorthand drop (no alias currently in mind) command to remove one or more shorthand groups. The only parameter is a varargs of the list of groups to remove
--quiet flag is given), along with a list of the ones that don't exist (if any), and prompt the user for confirmation if the --auto-confirm flag is not passed
deleterbe shorthand sort command to sort the list of groupsrbe shorthand group-sort (aliased to shorthand-sort) command to sort the entries within a grouprbe shorthand interactive command to go through an interactive loop using the inquirer.rb library to handle all operations listed above.
add or create)