Skip to content

entangled sync does not have --force #90

@jerivl

Description

@jerivl

Describe the bug
entangled sync does not have a --force flag despite an error message being thrown

To Reproduce

$> entangled sync
[21:00:10] INFO     Welcome to Entangled v2.4.2!
           INFO     Tangling.
           INFO     create `test.nix`
           WARNING  `test.nix` not managed by Entangled
           ERROR    conflicts found, breaking off (use `--force` to run anyway)
$> entangled sync --force
[20:59:57] INFO     Welcome to Entangled v2.4.2!                                                                                                                              
  Usage: entangled sync [OPTIONS]                                                                                              
                                                                                                                               
 Try 'entangled sync --help' for help                                                                                          
╭─ Error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ No such option: --force                                                                                                     │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
                                        

Expected behavior

$> entangled sync
[21:00:10] INFO     Welcome to Entangled v2.4.2!
           INFO     Tangling.
           INFO     create `test.nix`
           WARNING  `test.nix` not managed by Entangled
           ERROR    conflicts found, breaking off (use `--force` to run anyway)
$> entangled sync --force
[21:00:10] INFO     Welcome to Entangled v2.4.2!
           INFO     Tangling.
           INFO     create `test.nix`
           WARNING  `test.nix` not managed by Entangled           
           WARNING  conflicts found, but continuing anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions