-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remote URL to gee.toml when running 'gee add' command
- Modify WriteRepoToConfig function to retrieve the remote URL of the repository using the 'git config --get remote.origin.url' command - Introduce GetRemoteURL function to execute the git command and capture the remote URL - Leverage existing RunConfig and CommandOnFinish structs to handle command execution and output - Include the retrieved remote URL in the Repo struct when writing to the gee.toml file
- Loading branch information
1 parent
6a9e057
commit 598fceb
Showing
4 changed files
with
79 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
module gee | ||
|
||
go 1.15 | ||
go 1.22.3 | ||
|
||
require ( | ||
github.com/fatih/color v1.10.0 | ||
github.com/go-playground/validator/v10 v10.4.1 | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect | ||
github.com/pborman/indent v1.2.1 | ||
github.com/pelletier/go-toml v1.8.1 | ||
github.com/stcrestrada/gogo v0.0.0-20201230231443-90a948f16109 | ||
github.com/pelletier/go-toml v1.9.3 | ||
github.com/stcrestrada/gogo v1.0.0 | ||
github.com/urfave/cli/v2 v2.3.0 | ||
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect | ||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect | ||
gopkg.in/yaml.v2 v2.2.4 // indirect | ||
) | ||
|
||
require ( | ||
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-playground/locales v0.13.0 // indirect | ||
github.com/go-playground/universal-translator v0.17.0 // indirect | ||
github.com/leodido/go-urn v1.2.0 // indirect | ||
github.com/mattn/go-colorable v0.1.8 // indirect | ||
github.com/mattn/go-isatty v0.0.12 // indirect | ||
github.com/russross/blackfriday/v2 v2.0.1 // indirect | ||
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect | ||
github.com/stretchr/testify v1.7.0 // indirect | ||
golang.org/x/crypto v0.22.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters