Skip to content

Commit

Permalink
doc refactor - kamangir/bolt#746
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Jul 27, 2024
1 parent b543482 commit 30c0ced
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion blue_geo/.abcli/catalog/browse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function blue_geo_catalog_browse() {
local options=$1

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
abcli_show_usage "@catalog browse$ABCUL<catalog>$ABCUL<args>" \
abcli_show_usage "@catalog browse$ABCUL<catalog>$ABCUL[<args>]" \
"browse <catalog>."
return
fi
Expand Down
4 changes: 2 additions & 2 deletions blue_geo/.abcli/catalog/firms/browse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ function blue_geo_catalog_firms_browse() {
local options=$1

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
options="|map_key|area"
abcli_show_usage "@catalog browse firms$ABCUL$options" \
options="map_key|area"
abcli_show_usage "@catalog browse firms$ABCUL[$options]" \
"browse firms."
return
fi
Expand Down
10 changes: 6 additions & 4 deletions blue_geo/.abcli/catalog/firms/ingest.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#! /usr/bin/env bash

function blue_geo_catalog_ingest_firms() {
local options=$1
local ingest_options=$1

local options=$2

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
options=$blue_geo_datacube_ingest_options
"$EOP~copy_template,dryrun,$EOPE"
abcli_show_usage "@catalog ingest firms$ABCUL[$options]$ABCUL[.|<object-name>]$ABCUL" \
ingest_options=$blue_geo_datacube_ingest_options
options="dryrun"
abcli_show_usage "@datacube ingest firms$ABCUL[$ingest_options]$ABCUL[.|<object-name>]$ABCUL[$options]$ABCUL[<args>]" \
"firms -ingest-> <object-name>."
return
fi
Expand Down
2 changes: 1 addition & 1 deletion blue_geo/.abcli/catalog/query.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function blue_geo_catalog_query() {

if [ $(abcli_option_int "$catalog" help 0) == 1 ]; then
options=$blue_geo_catalog_query_options
abcli_show_usage "@catalog query$ABCUL<catalog>$ABCUL$options$ABCUL-|<object-name>$ABCUL<query-options>$ABCUL<args>" \
abcli_show_usage "@catalog query$ABCUL<catalog>$ABCUL$options$ABCUL[-|<object-name>]$ABCUL[<query-options>]$ABCUL[<args>]" \
"<catalog> -query-> <object-name>."

blue_geo_catalog_query_read "$@"
Expand Down
2 changes: 1 addition & 1 deletion blue_geo/.abcli/datacube/get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function blue_geo_datacube_get() {

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
options="catalog|template"
abcli_show_usage "@datacube get$ABCUL[$options]$ABCUL.|<object-name>" \
abcli_show_usage "@datacube get$ABCUL[$options]$ABCUL[.|<object-name>]" \
"get datacube properties."
return
fi
Expand Down
4 changes: 2 additions & 2 deletions blue_geo/.abcli/datacube/ingest.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#! /usr/bin/env bash

export blue_geo_datacube_ingest_options="assets=all|<item-1+item-2>,dryrun,suffix=<suffix>,upload"
export blue_geo_datacube_ingest_options="assets=all|<item-1+item-2>,~copy_template,dryrun,suffix=<suffix>,upload"

function blue_geo_datacube_ingest() {
local options=$1

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
options=$blue_geo_datacube_ingest_options
abcli_show_usage "@datacube ingest$ABCUL[$options]$ABCUL[.|<object-name>]$ABCUL<args>" \
abcli_show_usage "@datacube ingest$ABCUL[$options]$ABCUL[.|<object-name>]$ABCUL[<args>]" \
"ingest <object-name>."
return
fi
Expand Down
4 changes: 2 additions & 2 deletions blue_geo/.abcli/ukraine-timemap/browse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ function ukraine_timemap_browse() {
local options=$1

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
options="home$EOP|dataset|github$EOPE"
abcli_show_usage "ukraine_timemap browse$ABCUL$options" \
options="dataset|github"
abcli_show_usage "ukraine_timemap browse$ABCUL[$options]" \
"browse ukraine-timemap."
return
fi
Expand Down
6 changes: 3 additions & 3 deletions blue_geo/.abcli/ukraine-timemap/ingest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ function ukraine_timemap_ingest() {
local options=$1

if [ $(abcli_option_int "$options" help 0) == 1 ]; then
options="$EOP~copy_template,dryrun,~upload$EOPE"
local open_options="open$EOP,~QGIS$EOPE"
abcli_show_usage "ukraine_timemap ingest$ABCUL$options$ABCUL-$EOP|<object-name>$EOPE$ABCUL$open_options" \
options="~copy_template,dryrun,~upload"
local open_options="open,~QGIS"
abcli_show_usage "ukraine_timemap ingest$ABCUL[$options]$ABCUL[-|<object-name>]$ABCUL$open_options" \
"ingest the latest dataset from https://github.com/bellingcat/ukraine-timemap."
return
fi
Expand Down
2 changes: 1 addition & 1 deletion blue_geo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

DESCRIPTION = f"{ICON} AI for precise geospatial data analysis and visualization."

VERSION = "4.156.1"
VERSION = "4.157.1"

REPO_NAME = "blue-geo"

Expand Down

0 comments on commit 30c0ced

Please sign in to comment.