Changes between Version 4 and Version 5 of SeattleShellBackend

Changes between Version 4 and Version 5 of SeattleShellBackend

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 4 and Version 5 of SeattleShellBackend

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 4 and Version 5 of SeattleShellBackend

Show
Ignore:
Timestamp:
01/24/13 18:35:37 (6 years ago)
Author:
leonwlaw
Comment:

Added user toggling of modules

Legend:

Unmodified
Added
Removed
Modified
  • SeattleShellBackend

    v4 v5  
    4444}}} 
    4545[[BR]] 
    46 == Extending seash == 
     46== Extending seash: seash's Module system == 
    4747---- 
    4848 
     
    7777 
    7878}}} 
     79 
     80== Using modules == 
     81Modules are imported when you initially start seash.  However, they are not enabled by default. 
     82 
     83To enable a module, use the {{{enable}}} command: 
     84{{{ 
     85user@ !> help enable 
     86enable modulename 
     87 
     88Enables use of the specified module.  You can only enable modules if they do not 
     89contain commands that conflict with existing commands. 
     90 
     91 
     92user@ !> enable modulename 
     93user@ !> enable modulename 
     94Module 'modulename' is already enabled. 
     95 
     96user@ !> enable conflictingmodule 
     97Module 'conflictingmodule' cannot be enabled due to these conflicting commands: 
     98show info (default) 
     99get (selexor) 
     100 
     101user@ !> 
     102}}} 
     103 
     104Similarly, you can disable modules using the {{{disable}}} command: 
     105{{{ 
     106user@ !> help disable 
     107disable modulename 
     108 
     109Disables the specified module.  You will no longer be able to access the commands  
     110that were found in the disabled module until the module is re-enabled. 
     111 
     112 
     113user@ !> disable modulename 
     114user@ !> disable modulename 
     115Module 'modulename' is not enabled. 
     116 
     117user@ !>  
     118}}}