Skip to content

Support rm -rf #66

@Drake-Eidukas

Description

@Drake-Eidukas

With git, you can run git rm -rf <dir> to remove a directory, but this fails with cfg.

drake@element:~/workspace/test_base$ cfg rm lol
error: 'git rm --cached lol' failed
error: exit status 128
output: fatal: not removing 'lol' recursively without -r
drake@element:~/workspace/test_base$ cfg rm lol -r
Error: unknown shorthand flag: 'r' in -r
Usage:
  cfg rm [flags]

Flags:
  -h, --help   help for rm

Global Flags:
      --global-config string   global config file (default is $HOME/.cfg.yaml)

unknown shorthand flag: 'r' in -r

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions