Browse Source

remove --force option from "shut pkg update" command

shut-new-model
Niklas Rosenstein 9 months ago
parent
commit
2b24efd8be
No known key found for this signature in database GPG Key ID: 6D269B33D25F6C6
1 changed files with 2 additions and 3 deletions
  1. + 2
    - 3
      src/shut/commands/pkg/update.py

+ 2
- 3
src/shut/commands/pkg/update.py

@ -29,13 +29,12 @@ from shut.update import get_files
@pkg.command()
@click.option('--force', is_flag=True)
@click.option('--dry', is_flag=True)
def update(force, dry):
def update(dry):
"""
Update package files generated from the Package configuration.
"""
package = project.load(expect=PackageModel)
files = get_files(package)
write_files(files, package.get_directory(), force=force, dry=dry)
write_files(files, package.get_directory(), force=True, dry=dry)

Loading…
Cancel
Save