-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from TGoddessana/dev
setup document.
- Loading branch information
Showing
13 changed files
with
78 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,6 @@ maxdepth: 1 | |
--- | ||
usage | ||
reference | ||
contributing | ||
Code of Conduct <codeofconduct> | ||
License <license> | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
furo==2022.4.7 | ||
sphinx==4.5.0 | ||
sphinx-click==4.1.0 | ||
myst_parser==0.17.2 | ||
furo==2023.9.10 | ||
sphinx==7.2.6 | ||
sphinx-click==5.0.1 | ||
myst_parser==2.0.0 | ||
flask==2.3.1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,39 @@ | ||
# Usage | ||
|
||
```{eval-rst} | ||
.. click:: flask_moreshell.__main__:main | ||
:prog: flask-moreshell | ||
:nested: full | ||
after the package is installed, you can use the `flask shell` command as usual. | ||
|
||
```console | ||
$ flask shell | ||
``` | ||
|
||
and you can see python REPLs like this, with flask app loaded. | ||
|
||
 | ||
|
||
By default, make sure that `ipython`, `bpython`, and `ptpython` are installed in your current virtual environment. When | ||
you | ||
use the `flask shell` command, the package will look for and load the Python REPLs in that order. | ||
|
||
if no python REPL is found, the package will use the default python REPL. | ||
|
||
if you want to use a specific shell, you can use the `--shelltype` option. | ||
|
||
```shell | ||
$ flask shell --shelltype bpython | ||
``` | ||
|
||
 | ||
|
||
```console | ||
$ flask shell --shelltype bpython | ||
``` | ||
|
||
 | ||
|
||
```console | ||
$ flask shell --shelltype ptpython | ||
``` | ||
|
||
 | ||
|
||
so that's all. enjoy, and go crush your flask bugs! |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters