Skip to content

Commit f754813

Browse files
committed
(#978) - Add colours to payu clone output for readability
1 parent cb1d220 commit f754813

2 files changed

Lines changed: 22 additions & 11 deletions

File tree

docs/css/access-nri.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,17 @@ img.terminal-switch:hover ~ .terminal-switch-tooltip {
12141214
.git-cyan {
12151215
color: #00C6C7;
12161216
}
1217+
.payu-yellow {
1218+
color:#e9ff1e;
1219+
}
1220+
.payu-red {
1221+
color: #bb7673;
1222+
}
1223+
.payu-dark-yellow {
1224+
color: #f9bd26;
1225+
}
1226+
1227+
12171228

12181229
/* ===============================================================
12191230
General styling for html tabs

docs/models/run_a_model/payu.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,17 @@ To get the configuration as chosen, run:
131131
<terminal-line data="input">mkdir -p ~/access-om2/</terminal-line>
132132
<terminal-line data="input">cd ~/access-om2/</terminal-line>
133133
<terminal-line data="input">payu clone</terminal-line>
134-
<terminal-line>Welcome to the Payu Clone Wizard!</terminal-line>
135-
<terminal-line>Press 'Ctrl+C' at any time to exit.</terminal-line>
136-
<terminal-line>? Please enter the URL of the repository, or the local path of a configuration you want to clone: (e.g., https://github.com/payu-org/bowl1.git or /path/to/local/experiment; 'Tab' to browse, '/' to enter folder) https://github.com/ACCESS-NRI/access-om2-configs</terminal-line>
137-
<terminal-line>? Do you want to clone the repo based on: An existing branch</terminal-line>
138-
<terminal-line>? Please enter the name of the branch you want to clone ('Tab' to browse all branches): release-1deg_jra55_ryf</terminal-line>
139-
<terminal-line>? How would you like to name your local experiment directory? diffuse_exps-1deg_jra55_ryf</terminal-line>
140-
<terminal-line>? Is this a new experiment? (If yes, payu will create a new branch.) Yes</terminal-line>
141-
<terminal-line>? What would you like to name your new branch (Note: this won't be shared to the online repository automatically) diffuse_test1-1deg_jra55_ryf</terminal-line>
142-
<terminal-line>? Do you want to specify a custom restart path? (If no, the default restart/initial conditions will be used.) No</terminal-line>
143-
<terminal-line>Running command:</terminal-line>
144-
<terminal-line>`payu clone -B release-1deg_jra55_ryf -b diffuse_test1-1deg_jra55_ryf https://github.com/ACCESS-NRI/access-om2-configs diffuse_exps-1deg_jra55_ryf`</terminal-line>
134+
<terminal-line><span class="payu-yellow">Welcome to the Payu Clone Wizard!</span></terminal-line>
135+
<terminal-line><span class="payu-yellow">Press 'Ctrl+C' at any time to exit.</span></terminal-line>
136+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Please enter the URL of the repository, or the local path of a configuration you want to clone:</span> (e.g., https://github.com/payu-org/bowl1.git or /path/to/local/experiment; 'Tab' to browse, '/' to enter folder) <span class="payu-dark-yellow"> https://github.com/ACCESS-NRI/access-om2-configs</span></terminal-line>
137+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Do you want to clone the repo based on:</span> <span class="payu-dark-yellow">An existing branch</span></terminal-line>
138+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Please enter the name of the branch you want to clone ('Tab' to browse all branches):</span> <span class="payu-dark-yellow">release-1deg_jra55_ryf</span></terminal-line>
139+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">How would you like to name your local experiment directory?</span> <span class="payu-dark-yellow"> diffuse_exps-1deg_jra55_ryf</span></terminal-line>
140+
<terminal-line><span class="spack-cyan">?</span> <span class="payu red">Is this a new experiment?</span> (If yes, payu will create a new branch.) <span class="payu-dark-yellow">Yes</span></terminal-line>
141+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">What would you like to name your new branch</span> (Note: this won't be shared to the online repository automatically) <span class="payu-dark-yellow">diffuse_test1-1deg_jra55_ryf</span></terminal-line>
142+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Do you want to specify a custom restart path? (If no, the default restart/initial conditions will be used.)</span> <span class="payu-dark-yellow">No</span></terminal-line>
143+
<terminal-line><span class="payu-yellow">Running command:</span></terminal-line>
144+
<terminal-line><span class="payu-yellow">\`payu clone -B release-1deg_jra55_ryf -b diffuse_test1-1deg_jra55_ryf https://github.com/ACCESS-NRI/access-om2-configs diffuse_exps-1deg_jra55_ryf\`</span></terminal-line>
145145
<terminal-line>Cloned repository from https://github.com/ACCESS-NRI/access-om2-configs to directory: /home/561/\$USER/payu-control/access-om2/ diffuse_exps-1deg_jra55_ryf</terminal-line>
146146
<terminal-line>Created and checked out new branch: diffuse_test1-1deg_jra55_ryf</terminal-line>
147147
<terminal-line>laboratory path: /scratch/\$PROJECT/\$USER/access-om2</terminal-line>

0 commit comments

Comments
 (0)