Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now that we have a name, use that instead of manage.py in help text

  • Loading branch information...
commit 68297683be11d52bf61f2ff98f44a8096f5e32b0 1 parent ce39422
@benvanik benvanik authored
View
8 anvil/commands/build_command.py
@@ -4,9 +4,9 @@
Examples:
# Build the given rules
-manage.py build :some_rule some/path:another_rule
-# Force a full rebuild (essentially a 'manage.py clean')
-manage.py build --rebuild :some_rule
+anvil build :some_rule some/path:another_rule
+# Force a full rebuild (essentially a 'anvil clean')
+anvil build --rebuild :some_rule
"""
__author__ = 'benvanik@google.com (Ben Vanik)'
@@ -18,7 +18,7 @@
def _get_options_parser():
"""Gets an options parser for the given args."""
- parser = commandutil.create_argument_parser('manage.py build', __doc__)
+ parser = commandutil.create_argument_parser('anvil build', __doc__)
# Add all common args
commandutil.add_common_build_args(parser, targets=True)
View
2  anvil/commands/clean_command.py
@@ -17,7 +17,7 @@
def _get_options_parser():
"""Gets an options parser for the given args."""
- parser = commandutil.create_argument_parser('manage.py clean', __doc__)
+ parser = commandutil.create_argument_parser('anvil clean', __doc__)
# 'clean' specific
View
6 anvil/commands/depends_command.py
@@ -14,9 +14,9 @@
Example:
# Check dependencies and print results for rule :some_rule
-manage.py depends :some_rule
+anvil depends :some_rule
# Install/update all dependencies for rule :some_rule
-manage.py depends --install :some_rule
+anvil depends --install :some_rule
"""
__author__ = 'benvanik@google.com (Ben Vanik)'
@@ -33,7 +33,7 @@
def _get_options_parser():
"""Gets an options parser for the given args."""
- parser = commandutil.create_argument_parser('manage.py depends', __doc__)
+ parser = commandutil.create_argument_parser('anvil depends', __doc__)
# Add all common args
View
6 anvil/commands/deploy_command.py
@@ -12,9 +12,9 @@
Examples:
# Copy all output files of :release_all to /some/bin/, merging the output
-manage.py deploy --output=/some/bin/ :release_all
+anvil deploy --output=/some/bin/ :release_all
# Clean (aka delete) /some/bin/ before doing the copy
-manage.py deploy --clean --output=/some/bin/ :release_all
+anvil deploy --clean --output=/some/bin/ :release_all
"""
__author__ = 'benvanik@google.com (Ben Vanik)'
@@ -30,7 +30,7 @@
def _get_options_parser():
"""Gets an options parser for the given args."""
- parser = commandutil.create_argument_parser('manage.py deploy', __doc__)
+ parser = commandutil.create_argument_parser('anvil deploy', __doc__)
# Add all common args
commandutil.add_common_build_args(parser, targets=True)
View
10 anvil/commands/serve_command.py
@@ -17,11 +17,11 @@
Examples:
# Simple HTTP server
-manage.py serve
-manage.py serve --http_port=8080
+anvil serve
+anvil serve --http_port=8080
# HTTP server + build daemon
-manage.py serve :some_daemon
-manage.py serve --http_port=8080 --daemon_port=8081 :some_daemon
+anvil serve :some_daemon
+anvil serve --http_port=8080 --daemon_port=8081 :some_daemon
"""
__author__ = 'benvanik@google.com (Ben Vanik)'
@@ -36,7 +36,7 @@
def _get_options_parser():
"""Gets an options parser for the given args."""
- parser = commandutil.create_argument_parser('manage.py serve', __doc__)
+ parser = commandutil.create_argument_parser('anvil serve', __doc__)
# Add all common args
commandutil.add_common_build_args(parser, targets=True)
View
4 anvil/commands/test_command.py
@@ -5,7 +5,7 @@
to some test framework (BusterJS?)
Example:
-manage.py test :test_rule ...
+anvil test :test_rule ...
"""
__author__ = 'benvanik@google.com (Ben Vanik)'
@@ -20,7 +20,7 @@
def _get_options_parser():
"""Gets an options parser for the given args."""
- parser = commandutil.create_argument_parser('manage.py test', __doc__)
+ parser = commandutil.create_argument_parser('anvil test', __doc__)
# Add all common args
commandutil.add_common_build_args(parser, targets=True)
View
2  anvil/manage.py
@@ -78,7 +78,7 @@ def usage(commands):
Returns:
A string containing usage info and a command listing.
"""
- s = 'manage.py command [-h]\n'
+ s = 'anvil command [-h]\n'
s += '\n'
s += 'Commands:\n'
command_names = commands.keys()
Please sign in to comment.
Something went wrong with that request. Please try again.