kopia lustrzana https://github.com/piku/piku
sidelined REPL
rodzic
315a5bcd2e
commit
a432617cde
|
@ -23,7 +23,7 @@ From the bottom up:
|
|||
- [ ] nginx SSL optimization/cypher suites, own certificates
|
||||
- [ ] Let's Encrypt support
|
||||
- [ ] Review docs/CLI command documentation
|
||||
- [x] (experimental) REPL
|
||||
- [x] (experimental) REPL in `feature/repl`
|
||||
- [x] Python 3 support through `PYTHON_VERSION = 3`
|
||||
- [x] static URL mapping to arbitrary paths (hat tip to @carlosefr for `nginx` tuning)
|
||||
- [x] remote CLI (requires `ssh -t`)
|
||||
|
|
9
piku.py
9
piku.py
|
@ -3,7 +3,6 @@
|
|||
"Piku Micro-PaaS"
|
||||
|
||||
from click import argument, command, group, get_current_context, option, secho as echo
|
||||
#from click_repl import repl
|
||||
from collections import defaultdict, deque
|
||||
from datetime import datetime
|
||||
from fcntl import fcntl, F_SETFL, F_GETFL
|
||||
|
@ -973,13 +972,5 @@ cat | PIKU_ROOT="%s" %s git-hook %s""" % (PIKU_ROOT, realpath(__file__), app))
|
|||
call('git-shell -c "%s" ' % (argv[1] + " '%s'" % app), cwd=GIT_ROOT, shell=True)
|
||||
|
||||
|
||||
# TODO: test further and include better autocompletion
|
||||
#@piku.command()
|
||||
#def prompt():
|
||||
# """Starts an interactive prompt"""
|
||||
# repl(get_current_context(),
|
||||
# prompt_kwargs={'history': FileHistory(join(dirname(realpath(__file__)), '.piku_history'))},
|
||||
# allow_system_commands=False)
|
||||
|
||||
if __name__ == '__main__':
|
||||
piku()
|
||||
|
|
Ładowanie…
Reference in New Issue