Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Extending our CLI

Extending our CLI

Scheduled Pinned Locked Moved Discuss
7 Posts 3 Posters 885 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #1

      Currently, the CLI tool is primarily targeted at app packagers and those who deploy custom apps. We are making good progress with the API docs at https://docs.cloudron.io/api.html .

      One idea was to maybe add some commands in our CLI tool to help sysadmins script and automate various workflows. We don't want to put all possible REST APIs, that will be too much to maintain and implement.

      Currently, the plan is to add these:

      • cloudron network get/set blocklist
      • cloudron reverseproxy renew-certs
      • cloudron system is-reboot-required
      • cloudron user * - various commands to add/del/list/remove user

      Suggestions/comments/additions?

      We are still not clear if this is a separate CLI tool or just part of our existing one. We currently have commands like cloudron restart. If we make the CLI tool "mainstream", then we have to change these commands.

      necrevistonnezrN 1 Reply Last reply
      4
      • girishG girish

        Currently, the CLI tool is primarily targeted at app packagers and those who deploy custom apps. We are making good progress with the API docs at https://docs.cloudron.io/api.html .

        One idea was to maybe add some commands in our CLI tool to help sysadmins script and automate various workflows. We don't want to put all possible REST APIs, that will be too much to maintain and implement.

        Currently, the plan is to add these:

        • cloudron network get/set blocklist
        • cloudron reverseproxy renew-certs
        • cloudron system is-reboot-required
        • cloudron user * - various commands to add/del/list/remove user

        Suggestions/comments/additions?

        We are still not clear if this is a separate CLI tool or just part of our existing one. We currently have commands like cloudron restart. If we make the CLI tool "mainstream", then we have to change these commands.

        necrevistonnezrN Online
        necrevistonnezrN Online
        necrevistonnezr
        wrote on last edited by
        #2

        Great plan!

        @girish said in Extending our CLI:

        cloudron network get/set blocklist

        This should be something in the UI first, however (IMHO)

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          @necrevistonnezr it's already in the network view, no ?

          image.png

          1 Reply Last reply
          1
          • necrevistonnezrN Online
            necrevistonnezrN Online
            necrevistonnezr
            wrote on last edited by
            #4

            This is a list with individual IPs - I was thinking about an interface where you can subscribe to blocklists (such as the ones by ipdeny.com etc.)

            BrutalBirdieB girishG 2 Replies Last reply
            4
            • necrevistonnezrN necrevistonnezr

              This is a list with individual IPs - I was thinking about an interface where you can subscribe to blocklists (such as the ones by ipdeny.com etc.)

              BrutalBirdieB Online
              BrutalBirdieB Online
              BrutalBirdie
              Partner
              wrote on last edited by
              #5

              @necrevistonnezr Uhh that would be nice as well 🙂

              Like my work? Consider donating a drink. Cheers!

              necrevistonnezrN 1 Reply Last reply
              0
              • necrevistonnezrN necrevistonnezr

                This is a list with individual IPs - I was thinking about an interface where you can subscribe to blocklists (such as the ones by ipdeny.com etc.)

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @necrevistonnezr ah, that feature is not even implemented...

                1 Reply Last reply
                0
                • BrutalBirdieB BrutalBirdie

                  @necrevistonnezr Uhh that would be nice as well 🙂

                  necrevistonnezrN Online
                  necrevistonnezrN Online
                  necrevistonnezr
                  wrote on last edited by
                  #7

                  @BrutalBirdie As currently possible manually as described here: https://forum.cloudron.io/post/80825

                  1 Reply Last reply
                  1
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search