is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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:


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 13 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

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.

Note: See TracTickets for help on using tickets.