Giter VIP home page Giter VIP logo

gamon's Introduction

Hi there ๐Ÿ‘‹

I'm currently working on a GitHub Account Manager CLI Tool, called Gamon.

gamon's People

Contributors

peter-bread avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gamon's Issues

Change installation of specific versions

Instead of being able to pass in X.Y.Z into the installation script, change it so you can only pass in X, so if there are breaking changes in the future, you can get the most up to date version of the version you like.

Maybe also make it so when building from source, you only download the latest commit in main rather than the entire git history.

Start writing tests

Get a testing framework in place.

First test will be for gam script, checking it correctly prints the script.

Once this is ready I can get onto to CI #5.

`./`

Can you enter just ./ in gam init

Change install location

Instead of putting the binary in /usr/local/bin, put it in ~/.gamon/bin (for example), and add that directory to PATH.

This should avoid the need to for sudo when installing, updating and uninstalling.

fix `update_homebrew.yml`

The on: release: trigger doesn't work.

To get around this, I will move update_homebrew.yml into goreleaser.yml as a second job that can only run after the first job is completed.

v1.0.1

I want to get an update out quickly to test the update_homebrew.yml workflow.

Flexible context

*Maybe

Instead of needing to follow a strict file structure, let users create a file that sets the account for that directory and all its children, unless one of its children also has the file.

This will mean users won't need to have a root directory that contains all their repos if they don't want.

For example, it would enable something like this:

/home/john/
|-- personal/
|   |-- memes/
|   |-- finances/
|   |-- repos/
|       |-- .gh_account
|-- school/
|   |-- maths/
|   |-- computer-science/
|       |-- reports/
|       |-- repos/
|           |-- .gh_account

The two repos/ directories do not share the same parent, but they each contain a .gh_account file which can be read by gamon to set the correct account.

For users (like me) who like having all their repos together, it is easy to achieve the same result as using GAM_REPO_ROOT_DIR:

/home/john/
|-- repos/
|   |-- personal/
|   |   |-- .gh_account
|   |-- work/
|       |-- .gh_account
|-- memes/
|-- finances/

I might create a new command (e.g. gam account [path] that will use the promptui module that will list the available accounts (from ~/.config/gh/hosts.yml) and let you select one, which should make it a bit harder for users to just create .gh_account and put whatever they want in it.

add explicit documentation for shell completion

right now, you can run gam completion --help and gam completion <shell> --help to see how to enable shell completion for your shell.

This should be made explicit and clear in the docs in the repo

redefine some functionality

Since making changes to the shell script, some functionality is no longer required in the Go code.

For example, there is now no need to store a text file contain users, since they are stored by gh in ~/.config/gh/hosts.yml (by default).

update scripts

I have made changes to the scripts that need to be sourced.

update readme

There are some typos and overall it is quite bare.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.