diff --git a/app/views/includes/footer.scala.html b/app/views/includes/footer.scala.html index f46bdba3..50c91c94 100644 --- a/app/views/includes/footer.scala.html +++ b/app/views/includes/footer.scala.html @@ -3,7 +3,7 @@
Using a snapshot version? Already have a local installation? Setup a local version by specifying the path to the local installation: -
$ sdk install groovy 3.0.0-SNAPSHOT /path/to/groovy-3.0.0-SNAPSHOT
- $ sdk install java 10-zulu /Library/Java/JavaVirtualMachines/zulu-10.jdk/Contents/Home
+ sdk install groovy 3.0.0-SNAPSHOT /path/to/groovy-3.0.0-SNAPSHOT
+ sdk install java 10-zulu /Library/Java/JavaVirtualMachines/zulu-10.jdk/Contents/Home
Note that the local version name (3.0.0-SNAPSHOT and
10-zulu in the examples above) must be a unique name
which is not already in the list of available version names.
@@ -80,7 +80,7 @@ Remove an installed version. -
$ sdk uninstall scala 2.11.6
+ sdk uninstall scala 2.11.6
Note that removing a local version will not remove the local installation.
@@ -90,7 +90,7 @@ To get a listing of available Candidates: -
$ sdk list
+ sdk list
This will render a searchable alphabetic list with name, current stable default
version, website URL, description and easy install command for each Candidate.
The output is piped to less
so standard keyboard shortcuts may be
@@ -113,7 +113,7 @@ To get a listing of Candidate Versions: -
$ sdk list groovy
+ sdk list groovy
This will result in a list view showing the available, local, installed and
current versions of the SDK.
@@ -165,7 +165,7 @@ List Versions
Use Version
Choose to use a given version in the current terminal:
-
$ sdk use scala 2.12.1
+ sdk use scala 2.12.1
It is important to realise that this will switch the candidate version for
the current shell only. To make this change permanent, use the default command instead.
@@ -177,7 +177,7 @@ Use Version
Default Version
Chose to make a given version the default:
-
$ sdk default scala 2.11.6
+ sdk default scala 2.11.6
This will ensure that all subsequent shells will start with version 2.11.6 in
use.
@@ -188,13 +188,9 @@ Default Version
Current Version(s)
To see what is currently in use for a Candidate:
-
-$ sdk current java
-Using java version 8u111
-
+ sdk current java
Using java version 8u111
To see what is currently in use for all Candidates:
-
-$ sdk current
+ sdk current
Using:
groovy: 2.4.7
java: 8u111
@@ -211,12 +207,12 @@ Env Command
This can be achieved through an .sdkmanrc
file in the base
directory of your project. This file can be generated automatically by
issuing the following command:
- $ sdk env init
+ sdk env init
A config file with the following content has now been created in the
current directory:
- # Enable auto-env through the sdkman_auto_env config
+ # Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
-java=x.y.z.hs-adpt
+java=x.y.z.hs-adpt
The file is pre-populated with the current JDK version in use, but can
contain as may key-value pairs of supported SDKs as needed.
To switch to the configuration present in your .sdkmanrc
file,
@@ -227,14 +223,10 @@ Env Command
Your path has now also been updated to use any of these SDKs in your current shell.
When leaving a project, you may want to reset the SDKs to their default version.
This can be achieved by entering:
-
-$ sdk env clear
-Restored java version to x.y.z.hs-adpt (default)
-
+ sdk env clear
Restored java version to x.y.z.hs-adpt (default)
After checking out a new project, you may be missing some SDKs specified in the project's
.sdkmanrc
file. To install these missings SDKs, just type:
-
-$ sdk env install
+ sdk env install
Downloading: java x.y.z.hs-adpt
@@ -262,14 +254,12 @@ Env Command
Upgrade Version(s)
To see what is currently out of date for a Candidate on your system:
-
-$ sdk upgrade springboot
+ sdk upgrade springboot
Upgrade:
springboot (1.2.4.RELEASE, 1.2.3.RELEASE < 1.2.5.RELEASE)
To see what is outdated for all Candidates:
-
-$ sdk upgrade
+ sdk upgrade
Upgrade:
gradle (2.3, 1.11, 2.4, 2.5 < 2.6)
grails (2.5.1 < 3.0.4)
@@ -283,7 +273,7 @@ Upgrade Version(s)
SDKMAN! Version
Display the current version of SDKMAN!:
-
$ sdk version
+ sdk version
@@ -292,8 +282,7 @@ SDKMAN! Version
Broadcast Messages
Get the latest SDK release notifications on the command line:
-
-$ sdk broadcast
+ sdk broadcast
==== BROADCAST =================================================================
* 06/12/16: Scala 2.12.1 released on SDKMAN! #scala
* 23/11/16: Gradle 3.2.1 released on SDKMAN! #gradle
@@ -313,18 +302,16 @@ Offline Mode
Initially called Aeroplane Mode, this allows SDKMAN! to function
when working offline. It has a parameter that can be passed
toenable or disable the offline mode.
-
-$ sdk offline enable
+ sdk offline enable
Forced offline mode enabled.
-
-$ sdk offline disable
+
+sdk offline disable
Online mode re-enabled!
When operating in offline mode, most commands will still work
even though they will operate in a scaled down capacity. An example is the list
command, which will only display the currently installed and active version(s):
-
-$ sdk list groovy
+ sdk list groovy
------------------------------------------------------------
Offline Mode: only showing installed groovy versions
------------------------------------------------------------
@@ -346,10 +333,10 @@ Offline Mode
Self-Update
Installs a new version of SDKMAN! if available.
-
$ sdk selfupdate
+ sdk selfupdate
If no new version is available an appropriate message will be displayed.
Re-installation may be forced by passing the force parameter to the command:
- $ sdk selfupdate force
+ sdk selfupdate force
Automatic daily checks for new versions of SDKMAN! will also be performed on the
behalf of the user.
@@ -367,10 +354,9 @@ Update
cache will be refreshed and new candidates will become available for
installation:
-
-WARNING: SDKMAN is out-of-date and requires an update.
-
-$ sdk update
+
+WARNING: SDKMAN is out-of-date and requires an update.
+sdk update
Adding new candidates(s): kotlin
@@ -384,19 +370,19 @@ Flush
state.The flush command helps with this and allows for the following to be
performed:
Flush storage
- $ sdk flush
+ sdk flush
This flushes out all archives and the temporary storage folder, but not
the broadcast cache.
Broadcast
- $ sdk flush broadcast
+ sdk flush broadcast
Clears out the broadcast cache, downloading the latest available news on next
command invocation.
Archives
- $ sdk flush archives
+ sdk flush archives
Cleans the cache containing all downloaded SDK binaries. This can take up a lot
of space so is worth clearing out from time to time!
Temporary Folder
- $ sdk flush tmp
+ sdk flush tmp
Clears out the staging work folder used when installing new versions of
candidates and SDKMAN! itself.
@@ -409,7 +395,7 @@ Home
When using SDKMAN in scripts, it is often useful to get the absolute
path of where an SDK resides (similar to how the java_home
command works on macOS). For this we have the home
command.
- $ sdk home java 11.0.7.hs-adpt
+ sdk home java 11.0.7.hs-adpt
/home/somedude/.sdkman/candidates/java/11.0.7.hs-adpt
@@ -419,7 +405,7 @@ Home
Help
You can get basic help by running the following command:
-
$ sdk help
+ sdk help
This should yield something like:
Usage: sdk <command> [candidate] [version]
diff --git a/public/css/style.css b/public/css/style.css
index d79c20aa..fa370719 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -1326,4 +1326,8 @@ html, body, .st-container, .st-pusher, .st-content {
#content #toc ul {
list-style-type: none;
padding-left: .2em
-}
\ No newline at end of file
+}
+code::before {
+ display: inline;
+ content: '$ ';
+}