Command Line Gogo Shell¶

If you’re in a development environment, you can interact with the module framework locally from the command line.

Warning

Gogo shell should only be run from the command line in development environments. In production environments, run Gogo shell in the Control Panel, as demonstrated in Using the Gogo Shell .

Prerequisites¶

Gogo shell on the command line requires that the server is running in Developer Mode. You can enable Developer Mode on the server in Developer Studio or by setting the following Portal Property:

include-and-override=portal-developer.properties


Executing Commands¶

You can execute Gogo shell commands using Blade CLI or a telnet session.

You can execute individual commands using Blade CLI:

blade sh [Gogo shell command]
blade sh [another Gogo shell command]
...


Using a Telnet Session¶

You can execute commands in a telnet session:

1. Open a session:

telnet localhost 11311

2. Execute Gogo shell commands.

3. When you’re done executing commands, execute the disconnect command to end the session.

Warning

DO NOT execute the following commands. They stop the module framework.

close

exit

shutdown

Conclusion¶

Now that you know how to run Gogo shell from the command line, explore the available Gogo shell commands. If you need to use Gogo shell in a production environment, please see Using the Gogo Shell.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.2644774317741394, "perplexity": 11392.20221955351}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-43/segments/1634323588246.79/warc/CC-MAIN-20211028003812-20211028033812-00246.warc.gz"}