Documentation
¶
Overview ¶
Package cmd assembles the sectors CLI command tree. Each market lives in its own subpackage (cmd/idx, cmd/sgx, …) exposing a NewCmd() constructor; this package wires them onto the root command and owns the global flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is the CLI version, overridden at build time via -ldflags "-X github.com/emrsyah/sectors-cli/cmd.Version=v1.2.3" (goreleaser sets this automatically).
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmdutil holds helpers shared across every command package: building an authenticated client, rendering responses/errors, and turning optional flags into the pointer-typed query parameters the generated client expects.
|
Package cmdutil holds helpers shared across every command package: building an authenticated client, rendering responses/errors, and turning optional flags into the pointer-typed query parameters the generated client expects. |
|
Package idx implements the `sectors idx` command group: Indonesia Stock Exchange data (companies, reports, brokers, transactions, rankings, news).
|
Package idx implements the `sectors idx` command group: Indonesia Stock Exchange data (companies, reports, brokers, transactions, rankings, news). |
|
Package klse implements the `sectors klse` command group: Bursa Malaysia (KLSE) data — companies by sector, rankings, and company reports.
|
Package klse implements the `sectors klse` command group: Bursa Malaysia (KLSE) data — companies by sector, rankings, and company reports. |
|
Package mining implements the `sectors mining` command group: the Indonesian mining-sector extension — companies, commodities & trade, production & sites, and licenses, auctions & contracts.
|
Package mining implements the `sectors mining` command group: the Indonesian mining-sector extension — companies, commodities & trade, production & sites, and licenses, auctions & contracts. |
|
Package sgx implements the `sectors sgx` command group: Singapore Exchange (SGX) data — screener, reports, news, filings, and transactions.
|
Package sgx implements the `sectors sgx` command group: Singapore Exchange (SGX) data — screener, reports, news, filings, and transactions. |
Click to show internal directories.
Click to hide internal directories.