mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Include the "pelican-quickstart" script.
This ease the creation of a new blog. I modified slightly the code wrote by @Skami18 here: https://gist.github.com/1025236/dfa695e67482477907c79ae709ab827b20b18b04 This commit also renames the import script to "pelican-import". Fixes #129.
This commit is contained in:
parent
c73ae02170
commit
1edbe044a2
8 changed files with 533 additions and 264 deletions
|
|
@ -9,7 +9,7 @@ from pelican.utils import clean_output_dir, files_changed
|
|||
from pelican.writers import Writer
|
||||
from pelican import log
|
||||
|
||||
VERSION = "2.7.2"
|
||||
__version__ = "2.7.2"
|
||||
|
||||
|
||||
class Pelican(object):
|
||||
|
|
@ -112,7 +112,7 @@ def main():
|
|||
help='Show only critical errors')
|
||||
parser.add_argument('-D', '--debug', action='store_const', const=log.DEBUG, dest='verbosity',
|
||||
help='Show all message, including debug messages')
|
||||
parser.add_argument('--version', action='version', version=VERSION,
|
||||
parser.add_argument('--version', action='version', version=__version__,
|
||||
help='Print the pelican version and exit')
|
||||
parser.add_argument('-r', '--autoreload', dest='autoreload', action='store_true',
|
||||
help="Relaunch pelican each time a modification occurs on the content"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue