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 9f02567 commit df22097Copy full SHA for df22097
src/vcspull/cli/__init__.py
@@ -6,6 +6,7 @@
6
"""
7
import argparse
8
import logging
9
+import textwrap
10
11
from libvcs.__about__ import __version__ as libvcs_version
12
@@ -17,7 +18,22 @@
17
18
19
20
def create_parser():
- parser = argparse.ArgumentParser(prog="vcspull")
21
+ parser = argparse.ArgumentParser(
22
+ prog="vcspull",
23
+ formatter_class=argparse.RawDescriptionHelpFormatter,
24
+ description=textwrap.dedent(
25
+ """
26
+ sync vcspull repos
27
+
28
+ examples:
29
+ vcspull sync "*"
30
+ vcspull sync "django-*"
31
+ vcspull sync "django-*" flask
32
+ vcspull sync -c "myrepos.yaml" "*"
33
+ vcspull sync -c "myrepos.yaml" myproject
34
35
+ ).strip(),
36
+ )
37
parser.add_argument(
38
"--version",
39
"-V",
0 commit comments