Summary
Add switch to csi to set initial module
Metadata
- Id: c689db3a7d188984f18c3ec0fa743005be0569e7
- Trac id: 1439
- Type: enhancement
- Reporter: evhan
- Owner:
- Cc:
- Status: new
- Component: core tools
- Estimated difficulty: medium
- Resolution:
- Priority: not urgent at all
- Milestone: someday
- Version: 5.0.0
- Changetime: 2018-01-24 21:43:09 UTC
- Created: 2018-01-03 06:42:39 UTC
- Keywords: csi, modules
Description
Add a command line option to csi to specify the starting module, similar to Chibi's "-x" switch. This would be equivalent to running csi interactively and immediately using ",m <module>", but could be used with non-interactive scripts, for example.
Changes and comments
[2018-01-03 08:10:01 UTC] mario wrote:
Isn't it -R?
[2018-01-03 12:47:57 UTC] ckeen wrote:
Well you could call the ##sys#switch-module with -e as a workaround... except that this does not work as expected. Maybe expose the top level command procedure for ,m is the way to go.
[2018-01-03 12:47:57 UTC] ckeen wrote:
1514980181830776
[2018-01-24 21:43:09 UTC] evhan wrote:
Replying to mario: > Isn't it -R?
Replying to [comment:2 ckeen]:
> Well you could call the ##sys#switch-module with -e as a workaround... except that this does not work as expected. Maybe expose the top level command procedure for ,m is the way to go.
Exposing a procedure for use with {{{-e}}} would be an option, except that using {{{-e}}} will make csi behave in batch style rather than interactively. So, that wouldn't be all we need to add this feature, but it could be a start.