-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hof/mod: update command help, also bump hof version in docs
- Loading branch information
Showing
6 changed files
with
80 additions
and
52 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 |
---|---|---|
|
@@ -64,28 +64,35 @@ Both token and sshkey base methods are supported, with preferences: | |
### Usage | ||
# Initialize this folder as a module (github.com/org/repo) | ||
hof mod init <module-path> | ||
there are two main commands you will use, init & tidy | ||
# Add or update a dependency | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
# Initialize the current folder as a module | ||
hof mod init <module-path> (like github.com/org/repo) | ||
# Refresh dependencies, discovering any new imports | ||
hof mod tidy | ||
# Add a dependency | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/hof@latest // latest semver | ||
hof mod get github.com/hofstadter-io/hof@next // next prerelease | ||
hof mod get github.com/hofstadter-io/hof@main // latest commit on branch | ||
# Tidy module files | ||
hof mod tidy | ||
# Update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# symlink dependencies from local cache | ||
# Symlink dependencies from local cache | ||
hof mod link | ||
# copy dependency code from local cache | ||
# Copy dependency code from local cache | ||
hof mod vendor | ||
# update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# Verify dependency code against cue.mod/sums.cue | ||
hof mod verify | ||
# print help | ||
# This helpful output | ||
hof mod help | ||
` | ||
|
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 |
---|---|---|
|
@@ -64,28 +64,35 @@ Both token and sshkey base methods are supported, with preferences: | |
### Usage | ||
# Initialize this folder as a module (github.com/org/repo) | ||
hof mod init <module-path> | ||
there are two main commands you will use, init & tidy | ||
# Add or update a dependency | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
# Initialize the current folder as a module | ||
hof mod init <module-path> (like github.com/org/repo) | ||
# Refresh dependencies, discovering any new imports | ||
hof mod tidy | ||
# Add a dependency | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/hof@latest // latest semver | ||
hof mod get github.com/hofstadter-io/hof@next // next prerelease | ||
hof mod get github.com/hofstadter-io/hof@main // latest commit on branch | ||
# Tidy module files | ||
hof mod tidy | ||
# Update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# symlink dependencies from local cache | ||
# Symlink dependencies from local cache | ||
hof mod link | ||
# copy dependency code from local cache | ||
# Copy dependency code from local cache | ||
hof mod vendor | ||
# update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# Verify dependency code against cue.mod/sums.cue | ||
hof mod verify | ||
# print help | ||
# This helpful output | ||
hof mod help | ||
` | ||
|
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 |
---|---|---|
|
@@ -183,29 +183,36 @@ import ( | |
### Usage | ||
there are two main commands you will use, init & tidy | ||
# Initialize this folder as a module (github.com/org/repo) | ||
hof mod init <module-path> | ||
# Initialize the current folder as a module | ||
hof mod init <module-path> (like github.com/org/repo) | ||
# Refresh dependencies, discovering any new imports | ||
hof mod tidy | ||
# Add or update a dependency | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
# Add a dependency | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/hof@latest // latest semver | ||
hof mod get github.com/hofstadter-io/hof@next // next prerelease | ||
hof mod get github.com/hofstadter-io/hof@main // latest commit on branch | ||
# Tidy module files | ||
hof mod tidy | ||
# Update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# symlink dependencies from local cache | ||
# Symlink dependencies from local cache | ||
hof mod link | ||
# copy dependency code from local cache | ||
# Copy dependency code from local cache | ||
hof mod vendor | ||
# update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# Verify dependency code against cue.mod/sums.cue | ||
hof mod verify | ||
# print help | ||
# This helpful output | ||
hof mod help | ||
|
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 |
---|---|---|
|
@@ -54,28 +54,35 @@ Both token and sshkey base methods are supported, with preferences: | |
|
||
### Usage | ||
|
||
# Initialize this folder as a module (github.com/org/repo) | ||
hof mod init <module-path> | ||
there are two main commands you will use, init & tidy | ||
|
||
# Add or update a dependency | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
# Initialize the current folder as a module | ||
hof mod init <module-path> (like github.com/org/repo) | ||
|
||
# Refresh dependencies, discovering any new imports | ||
hof mod tidy | ||
|
||
# Add a dependency | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/[email protected] | ||
hof mod get github.com/hofstadter-io/hof@latest // latest semver | ||
hof mod get github.com/hofstadter-io/hof@next // next prerelease | ||
hof mod get github.com/hofstadter-io/hof@main // latest commit on branch | ||
|
||
# Tidy module files | ||
hof mod tidy | ||
# Update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
|
||
# symlink dependencies from local cache | ||
# Symlink dependencies from local cache | ||
hof mod link | ||
|
||
# copy dependency code from local cache | ||
# Copy dependency code from local cache | ||
hof mod vendor | ||
|
||
# update dependencies | ||
hof mod get github.com/hofstadter-io/hof@latest | ||
hof mod get all@latest | ||
# Verify dependency code against cue.mod/sums.cue | ||
hof mod verify | ||
|
||
# print help | ||
# This helpful output | ||
hof mod help | ||
|
||
Usage: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,17 +19,17 @@ params: | |
github_repo: https://github.com/hofstadter-io/hof-docs | ||
time_format_default: January 2, 2006 | ||
keywords: hof hofstadter documentation docs | ||
hofver: v0.6.8-beta.7 | ||
hofver: v0.6.8-beta.11 | ||
cuever: v0.5.0-beta.5 | ||
cuedocBase: https://pkg.go.dev/cuelang.org/[email protected] | ||
beta: |- | ||
The `hof gen` adhoc feature (`-T`) is only available in the next beta. | ||
``` | ||
go install github.com/hofstadter-io/hof/cmd/[email protected].7 | ||
go install github.com/hofstadter-io/hof/cmd/[email protected].11 | ||
``` | ||
[Download binaries on GitHub](https://github.com/hofstadter-io/hof/releases/tag/v0.6.8-beta.7) | ||
[Download binaries on GitHub](https://github.com/hofstadter-io/hof/releases/tag/v0.6.8-beta.11) | ||
markup: | ||
goldmark: | ||
renderer: | ||
|