command line manager

Administration tools ::: tool_cmdlinetools
Maintained by Céline Perves
admin/tool/cmdlinetools : Command line tools for moodle technical administration cmdlinetools is a command line tools integrated in moodle that enable execute moodle administrative task threw php command lines
Latest release:
17 sites
2 downloads
3 fans
Current versions available: 1

cmdlinetools is a command line tools integrated in moodle that enables execute moodle administrative task threw php command lines

See readme file for a full list of features

We created this plugin in order to have an easier administrative approach of our modle platforms.

Mixed with bash commands that executes that php command lines,  it enables us to install, upgrade and administrate various moodle platforms at same time following a list of bash commands.

We would like to thanks David Mudrak that give us the good advice to transform a simple set of admin cli command line lists into a amdin  tool plugin and also  Moosh utility that inspired this plugin and sometimes inspired us to find dificult solution for some scripts


Contributors

Céline Perves (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Afișează comentariile
  • Plugins bot
    lun., 10 oct. 2016, 17:10
  • Jun Pataleta
    lun., 24 oct. 2016, 14:27
    Thanks for submitting a plugin Celine. I had a quick look at your plugin and unfortunately it seems to me that there are still a lot of things to work on before we can send this for approval.

    Please see some of my comments:
    * First, it would be nice if you could fix the errors and warnings raised by the Plugins bot. It is encouraged to follow Moodle’s coding style as outlined in:
    http://docs.moodle.org/dev/Coding_style and
    http://docs.moodle.org/dev/Coding
    The code checker plugin can be quite helpful in fine tuning your code and can be found at: https://moodle.org/plugins/view.php?plugin=local_codechecker You may wish to consider using that tool to further improve your plugin.
    * I also encountered some issues right away when I tried your plugin and I have reported the ones I found on the plugin's Github page. Perhaps there are others from the other commands, so it would be nice if you could also verify that all the commands are working as expected.
    * About the lang file, perhaps it would be more easily maintainable if the language strings are ordered alphabetically by their string identifiers.

    Thanks!
  • David Mudrák
    mar., 25 oct. 2016, 06:15

    Thanks Céline for sharing this block with the community, and thanks Jun for providing the approval review. It looks like a good improvement over the previous version which was not wrapped as a proper Moodle plugin yet - well done on that!

    Two of the issues reported by Jun to your github tracker sound like little yet apparent usability issues and it will be better to have them fixed. The unit test failure may indicate some more serious problem and is definitely worth checking. And yes, overall following the Moodle coding style will definitely help with further reviews and collaboration on the plugin. Thanks in advance for paying attention to it.

    For now I am marking the plugin as needing more work. Looking forward the updated version with fixes!

  • Céline Perves
    mie., 2 nov. 2016, 17:43
    Thank's for your comment, I'll try to fix all necessaries issues as soon as possible.
    Thank's for local_code_checker plugin, I'm gonna work on that
  • Céline Perves
    joi, 3 nov. 2016, 23:17
    too much work and impact on changing code styling on this at the moment
    try to do this in a second time
  • Céline Perves
    joi, 3 nov. 2016, 23:17
    issues fixed
  • Céline Perves
    lun., 28 nov. 2016, 16:44
    Repository name changed
  • Bert van der Hooft
    dum., 5 mar. 2017, 15:49
    how to access the tool?
  • Céline Perves
    lun., 6 mar. 2017, 16:09
    Install the plugin in the propoer directory (see readme.md)
    You'll have to call the command with php :
    php /moodleworkspace/admin/tool/cmdlinetools/cli/cmdline_manager.php command [options]
    type :
    php /moodleworkspace/admin/tool/cmdlinetools/cli/cmdline_manager.php --help will retuirn list of commands available
  • George Mihailov
    mar., 11 apr. 2017, 01:31
    Are you aware of http://moosh-online.com/ ? Theoretically it could be wrapped into a plugin as well if want it to be part of moodle folder.
  • Céline Perves
    mar., 11 apr. 2017, 14:52
    I made cmdlinetools based on cli moodle command in order to have a plugin architecture and be able to use IDE tools such as debug tools.
    I did'nt know moosh has a possibililty to be wrapped into a plugin.

    With that simple tool called by bash commands I can apply commands to various moodle calling the tool with each path involved.
    If I had time I would study deeper moosh and try to integrate/mix it with cmdlinetools
Please login to post comments