Skip to content

Commit

Permalink
Merge pull request #647 from gisce/feature/58161_ADD_development_cove…
Browse files Browse the repository at this point in the history
…rage

ADD cobertura para poder ejecutar la libcnmc como script aislado
  • Loading branch information
ecarreras authored May 7, 2024
2 parents fdb9ed1 + 15e1cbe commit fcb87e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libcnmc/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1222,3 +1222,6 @@ def version_command(ctx, opt, version):
cnmc, cnmc_4666, cnmc_4667, cnmc_4_2015, cnmc_6181, cnmc_8_2021
])
cli.params.append(click.Option(['--version'], is_flag=True, callback=version_command, expose_value=False, is_eager=True, help='Show the version'))

if __name__ == '__main__':
cli()

0 comments on commit fcb87e6

Please sign in to comment.