File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/main/java/com/datastax/astra/shell/cmd/config Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ ASTRA_CLI_DIR="$HOME/.astra/cli"
34
34
35
35
# Local variables
36
36
astra_tmp_folder=" $HOME /.astra/tmp"
37
+ astra_scb_folder=" $HOME /.astra/cli/scb"
37
38
astra_zip_file=" ${astra_tmp_folder} /astra-cli-${ASTRA_CLI_VERSION} .zip"
38
39
astra_zip_base_folder=" ${astra_tmp_folder} /astra-cli-${ASTRA_CLI_VERSION} "
39
40
@@ -132,6 +133,10 @@ mkdir -p "$astra_tmp_folder"
132
133
echo " $( tput setaf 2) [OK]$( tput setaf 7) - Created $astra_tmp_folder "
133
134
mkdir -p " $ASTRA_CLI_DIR "
134
135
echo " $( tput setaf 2) [OK]$( tput setaf 7) - Created $ASTRA_CLI_DIR "
136
+ mkdir -p " $astra_scb_folder "
137
+ echo " $( tput setaf 2) [OK]$( tput setaf 7) - Created $astra_scb_folder "
138
+
139
+
135
140
echo " "
136
141
echo " Downloading archive:"
137
142
download_url=" https://github.com/datastaxdevs/datastaxdevs.github.io/raw/master/cli/${ASTRA_CLI_VERSION} .zip"
Original file line number Diff line number Diff line change @@ -56,10 +56,12 @@ public void run() {
56
56
ccc .sectionName = new OrganizationsClient (token ).organization ().getName ();
57
57
ccc .run ();
58
58
valid_token = true ;
59
+ System .out .println ("OK" );
59
60
60
61
ConfigGet configs = new ConfigGet ();
61
62
configs .astraRc = this .astraRc ;
62
63
configs .configFilename = this .configFilename ;
64
+ configs .sectionName = ccc .sectionName ;
63
65
configs .run ();
64
66
65
67
} catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments