algent thanks 😀
Glad you like it. Sorry for the name, I am really bad at picking them

+1 for using Go, you'd get a taco if it was C 😁
Wouldn't hurt to have a command to clear/invalidate cache

    @buddyspencer is there no way to install? I selected a snap and it just gave me a link, is it not possible to parse the command out for the user ie sudo snap install pkgname?

    In light of that you'd also need to check that snapd is installed and working as well as flatpak installed and flathub added.

      That would be great, make it a full solution to find and install.

      viyoriya thanks for the feedback but I am not sure if my program is good enough to be a solus package 😅
      michaeltintiuc just added the function to clear the cache
      Justin added the part to check if snap or flatpak is installed, will add the installation part of the package during lunch.

      This is a perfect opportunity for the community to come together and improve this, if it's not yet ready to be a solus package. nice work nonetheless @buddyspencer ! I might be able to add some unit tests over the weekend
      btw, it should be "go get"-able, right?

        viyoriya How to make that API token to be uploaded automatically in the script?

          viyoriya I have API token but I don't want to paste it always. Is there any way that the script could extrat the API Token saved somewhere in my $HOME?

            algent I haven't tried that you can update the script if possible or i will do that later and share it with you 👍

              viyoriya
              I changed this
              arc set-config default https://dev.getsol.us
              with this one
              arc set-config default $HOME/.arcc

              EDIT: I get this.

              Set key "default" = "/home/algent/.arcc" in user config (was "https://dev.getsol.us").
              Usage Exception: Server URI "/api/" must include a protocol and domain. It should be in the form "https://phabricator.example.com/".

                viyoriya I request you to change the name instead of ham 🙂 ( Its your code your decision its just my request coz middle east/ east people don't like the name )

                I think I will rename it to spence.

                  algent

                  https://secure.phabricator.com/book/phabricator/article/arcanist/

                  Some Arcanist commands can be configured. This configuration is read from three sources, in order:

                  1. A project can specify configuration in an .arcconfig file. This file is JSON, and can be updated using arc set-config --local or by editing it manually.
                  2. User configuration is read from /.arcconfig. This file is JSON, and can be updated using arc set-config.
                  3. Host configuration is read from /etc/arcconfig

                  in your case --local