summaryrefslogtreecommitdiff
path: root/docs/features/initialization.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/features/initialization.rst')
-rw-r--r--docs/features/initialization.rst19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/features/initialization.rst b/docs/features/initialization.rst
index 315709f0..cb111a39 100644
--- a/docs/features/initialization.rst
+++ b/docs/features/initialization.rst
@@ -7,15 +7,16 @@ capabilities which you may wish to utilize while initializing the app::
#!/usr/bin/env python3
# coding=utf-8
"""A simple example cmd2 application demonstrating the following:
- 1) Colorizing/stylizing output
- 2) Using multiline commands
- 3) Persistent history
- 4) How to run an initialization script at startup
- 5) How to group and categorize commands when displaying them in help
- 6) Opting-in to using the ipy command to run an IPython shell
- 7) Allowing access to your application in py and ipy
- 8) Displaying an intro banner upon starting your application
- 9) Using a custom prompt
+ 1) Colorizing/stylizing output
+ 2) Using multiline commands
+ 3) Persistent history
+ 4) How to run an initialization script at startup
+ 5) How to group and categorize commands when displaying them in help
+ 6) Opting-in to using the ipy command to run an IPython shell
+ 7) Allowing access to your application in py and ipy
+ 8) Displaying an intro banner upon starting your application
+ 9) Using a custom prompt
+ 10) How to make custom attributes settable at runtime
"""
import cmd2
from cmd2 import style