osl-incubator / sugar

Simplify the usage of containers
https://osl-incubator.github.io/sugar/
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

feat: Implement the missing docker-compose commands #77

Closed xmnlab closed 1 year ago

xmnlab commented 1 year ago

Implement the missing docker-compose command in the main profile/plugin. This is the complete list of the supported commands:

      build [options] [SERVICE...]
      config [options]
      create [options] [SERVICE...]
      down [options] [--rmi type] [--volumes] [--remove-orphans]
      events [options] [SERVICE...]
      exec [options] SERVICE COMMAND [ARGS...]
      images [options] [SERVICE...]
      kill [options] [SERVICE...]
      logs [options] [SERVICE...]
      pause [options] SERVICE...
      port [options] SERVICE PRIVATE_PORT
      ps [options] [SERVICE...]
      pull [options] [SERVICE...]
      push [options] [SERVICE...]
      restart [options] [SERVICE...]
      rm [options] [-f | -s] [SERVICE...]
      run [options] [-p TARGET...] [-v VOLUME...] [-e KEY=VAL...]
          [-l KEY=VAL...] SERVICE [COMMAND] [ARGS...]
      start [options] [SERVICE...]
      stop [options] [SERVICE...]
      top [options] [SERVICE...]
      unpause [options] SERVICE...
      up [options] [--scale SERVICE=NUM...] [--no-color]
          [--quiet-pull] [SERVICE...]
      version [options]

the previous commands for start and restart was moved to ext profile/plugin, so in order to use the same behavior it is necessary to run kxgr ext start or kxgr ext restart.

In follow-up works, more commands will be added to ext profile/plugin and maybe user defined "function" profile would be added in the future.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: