Skip to content

Command Syntax - packages #56

@alroniks

Description

@alroniks

Hi colleagues.

Now gitify can install package by name and all packages from config. But if we want can full control on packages in MODX through API, we need more commands. But now command started from word install:packages. It's not right I think. In npm and composer exists at minimum 3 commands: install, update and remove (uninstall). If we keep old syntax, we needed write gitify install:package Ace --update or gitify install:package Ace --remove. WTF? Install and --remove? :) I guess you are laughing too.

I propose to fix command syntax for package control.

gitify
    package
        install # installing of package
        remove # removing of package
        update # updating of package
        sync # sync all packages by config. Install not installed, and remove removed if needed.

If package not specified - install and remove and update all packages.
Examples:
gitify package install Ace
gitify package update Ace
gitify package remove Lingua
gitify package sync

I am ready to start with PR, but I need your's mentions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions