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

            viyoriya Or just PST (Paskage Search Tool), UAS (Universal App Search) . The name is not a big deal since we can use an alias for it.

              alias kosher=ham This must be equal to division by zero.

              algent thats sets the config value in .arcrc file

              just try this arc get-config default you will get user and url value.

              Actually its just a initial script to set the basics stuff. Still i didnt go thru the rest of the josh videos.

              buddyspencer I honestly though appimage would've been the easiest, interesting. Appimage is just wget and chmod +x no? Maybe a folder within the users home dir ~/.appimages/some.appimage?

              I'll git clone the repo soon and have a play, thanks again for your work!

                Justin in theory you are correct. In practice I just get the link to the packages. I would have to parse the page for appimages and download it after that. I probably will try to do that in the evening or on the weekend.

                2 years later