We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1834e8 commit 6f6924fCopy full SHA for 6f6924f
charon/cmd/__init__.py
@@ -13,7 +13,7 @@
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
"""
16
-from click import group
+from click import group, version_option, pass_context
17
from charon.cmd.cmd_upload import upload
18
from charon.cmd.cmd_delete import delete
19
from charon.cmd.cmd_index import index
@@ -22,7 +22,9 @@
22
23
24
@group()
25
-def cli():
+@version_option()
26
+@pass_context
27
+def cli(ctx):
28
"""Charon is a tool to synchronize several types of
29
artifacts repository data to Red Hat Ronda
30
service (maven.repository.redhat.com).
0 commit comments