developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
#777 closed enhancement (fixed)
Allow a CLI script to be dedicated to a specific action
Reported by: | laurentj | Owned by: | laurentj |
---|---|---|---|
Priority: | normal | Milestone: | jelix 1.1 |
Component: | jelix:core request | Version: | 1.0RC1 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Sometimes, we use a CLI script to only execute a specific action. However, we have to specify this action in the arguments of the script. We should have a way to no indicate this action. The action should be indicated as an argument of jCmdlineRequest for example.
Change History (2)
comment:1 Changed 12 years ago by laurentj
- Documentation needed set
- Resolution set to fixed
- Status changed from new to closed
- Summary changed from Allow a CLI script to be attached to a specific action to Allow a CLI script to be dedicated to a specific action
comment:2 Changed 12 years ago by laurentj
- Documentation needed unset
Note: See
TracTickets for help on using
tickets.
done. r1220.
Now jCmdlineRequest accept a boolean as a parameter of its constructor. If it's true, the request will get always the default module and action given in the configuration, and won't read it from the command line.