$ glide init
[INFO] Generating a YAML configuration
file
and guessing the dependencies
[INFO] Attempting to
import
from other package managers (use --skip-
import
toskip)
[INFO] Scanningcode to
look
for
dependencies
[INFO] -->Found reference to github.com
/urfave/cli
[INFO] Writingconfiguration
file
(glide.yaml)
[INFO] Wouldyou like Glide to help you
find
ways to improve your glide.yaml configuration?
[INFO] If youwant to revisit this step you can use the config-wizard
command
at any
time
.
[INFO] Yes (Y)or No (N)?
Y
[INFO] Loadingmirrors from mirrors.yaml
file
[INFO] Lookingfor dependencies to
make
suggestions on
[INFO] -->Scanning
for
dependencies not using version ranges
[INFO] -->Scanning
for
dependencies using commit ids
[INFO] Gathering information on each dependency
[INFO] -->This may take a moment. Especially on a codebase with many dependencies
[INFO] -->Gathering release information
for
dependencies
[INFO] -->Looking
for
dependency imports where versions are commit ids
[INFO] Here aresome suggestions...
[INFO] Thepackage github.com
/urfave/cli
appears to have Semantic Version releases(http:
//semver
.org).
[INFO] Thelatest release is v1.19.1. You are currently not using a release. Would youlike
[INFO] to usethis release? Yes (Y) or No (N)
Y
[INFO] Wouldyou like to remember the previous decision and apply it to future
[INFO] dependencies? Yes (Y) or No (N)
Y
[INFO] Updatinggithub.com
/urfave/cli
to use the release v1.19.1 instead of no release
[INFO] Thepackage github.com
/urfave/cli
appears to use semantic versions(http:
//semver
.org).
[INFO] Wouldyou like to track the latest minor or patch releases (major.minor.patch)?
[INFO] Trackingminor version releases would use
'>= 1.19.1, < 2.0.0'
(
'^1.19.1'
).Tracking patch version
[INFO] releaseswould use
'>= 1.19.1, < 1.20.0'
(
'~1.19.1'
). For
more
information onGlide versions
[INFO] andranges see https:
//glide
.sh
/docs/versions
[INFO] Minor(M), Patch (P), or Skip Ranges (S)?
P
[INFO] Wouldyou like to remember the previous decision and apply it to future
[INFO] dependencies? Yes (Y) or No (N)
Y
[INFO] Updatinggithub.com
/urfave/cli
to use the range ~1.19.1 instead of commit
id
v1.19.1
[INFO] Configuration changes have been made. Would you like to write these
[INFO] changesto your configuration
file
? Yes (Y) or No (N)
Y
[INFO] Writingupdates to configuration
file
(glide.yaml)
[INFO] You cannow edit the glide.yaml
file
.:
[INFO] -->For
more
information on versions and ranges see https:
//glide
.sh
/docs/versions/
[INFO] -->For details on additional metadata see https:
//glide
.sh
/docs/glide
.yaml/
$ ll
glide.yaml
$
cat
glide.yaml
package: foor
import
: []