sourcegraph/dev/sg
Robert Lin b28b962fba
sg: improve positional completions (#58569)
Improves positional completions added for `sg msp` in #58538 by checking for partial flag input (`-` and `--`), which now complete flags correctly, and also improving the way we build positional argument completions with a more robust helper, `completions.CompletePositionalArgs`.
2023-11-27 16:30:59 -08:00
..
buf sg: add buf generate lint rule check (#47686) 2023-02-15 18:14:15 +00:00
ci sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
dependencies sg: install gnu-parallel during setup on Mac (#58416) 2023-11-20 11:18:40 +00:00
internal sg: add --sgtail to start command (#58434) 2023-11-21 11:13:49 +01:00
interrupt bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
linters remove more remannts of OSS build (#58253) 2023-11-10 07:59:03 +00:00
msp sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
root sg gen / bazel: port generation of reference from go to bazel (#55256) 2023-07-25 12:59:39 +00:00
.gitignore Add MVP version of sg, the Sourcegraph developer command 2021-03-25 15:22:51 +01:00
analytics.go linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
bootstrap.sh sg: pass parameters from bootstrap.sh (#43628) 2022-10-31 11:13:37 +02:00
BUILD.bazel dev/sg: build sg-msp with bazel (#58276) 2023-11-16 07:58:45 -08:00
checks.go go: update to 1.20.10 (#57525) 2023-10-12 14:13:46 +02:00
Dockerfile ci: enable bazel builds for docker images (#51241) 2023-04-28 10:41:13 +02:00
generates.go sg generate: get .proto early exit from 30s to 0s (#58555) 2023-11-24 16:51:19 +01:00
live.go sg: fix live command after ci build version update (#48116) 2023-02-23 14:50:47 +00:00
main_test.go dev/sg: fix diff output in Buildkite without using Buildkite condition (#36193) 2022-05-30 11:48:15 -07:00
main.go refer to sg help instead of auto-generating markdown docs for sg (#58225) 2023-11-09 23:40:03 -08:00
os.go dev/sg: remove globalConf, extract Config into sgconf (#33882) 2022-04-14 09:01:54 -07:00
OWNERS devx: add OWNERS files (#30671) 2022-02-08 11:36:26 +01:00
README.md dev/sg: migrate sg docs to doc/dev (#25933) 2021-10-12 12:49:10 +00:00
release_test.go Migrate to autogold/v2 (needed by Bazel) (#47891) 2023-02-21 10:37:13 +01:00
release.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_analytics.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_app.go bazel: fix depgard regexp typo (#58073) 2023-11-02 16:17:21 +02:00
sg_audit.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
sg_cloud.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_db.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
sg_deploy.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_embeddings_qa.go Move embeddings service out of enterprise (#57291) 2023-10-04 00:47:10 +02:00
sg_generate.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_help.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_insights.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
sg_install.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_lint.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_live.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_logo.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_migration.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
sg_monitoring.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_ops.go sg: ops - only replace registry if there is an existing reg (#57526) 2023-10-11 10:34:56 +02:00
sg_page.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
sg_rfc.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_run.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_secret.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_setup.go remove more remannts of OSS build (#58253) 2023-11-10 07:59:03 +00:00
sg_src.go misc fixes to text and error message copy (#58543) 2023-11-23 22:52:42 -08:00
sg_start_test.go sg: don't print output twice if build fails (#57945) 2023-10-27 15:04:50 +00:00
sg_start.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_teammate.go [chore] Use consistent go-github versioning (#57391) 2023-10-06 10:48:18 +02:00
sg_telemetry.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_tests.go sg: improve positional completions (#58569) 2023-11-27 16:30:59 -08:00
sg_update.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_version.go sg msp: initial prototype (#55905) 2023-09-07 17:24:34 -07:00
sg_wolfi.go wolfi: add command to trivy scan images (#58105) 2023-11-03 18:27:41 +00:00
sg.config.example.yaml remove more remannts of OSS build (#58253) 2023-11-10 07:59:03 +00:00
suggest_test.go dev/sg: levenshtein suggestions when subcommand not found (#33943) 2022-04-15 05:44:43 +00:00
suggest.go dev/sg: rework output and add Buildkite log headers (#35269) 2022-05-11 17:42:18 +00:00
VISION.md dev/sg: migrate sg docs to doc/dev (#25933) 2021-10-12 12:49:10 +00:00

sg - the Sourcegraph developer tool

          _____                    _____
         /\    \                  /\    \
        /::\    \                /::\    \
       /::::\    \              /::::\    \
      /::::::\    \            /::::::\    \
     /:::/\:::\    \          /:::/\:::\    \
    /:::/__\:::\    \        /:::/  \:::\    \
    \:::\   \:::\    \      /:::/    \:::\    \
  ___\:::\   \:::\    \    /:::/    / \:::\    \
 /\   \:::\   \:::\    \  /:::/    /   \:::\ ___\
/::\   \:::\   \:::\____\/:::/____/  ___\:::|    |
\:::\   \:::\   \::/    /\:::\    \ /\  /:::|____|
 \:::\   \:::\   \/____/  \:::\    /::\ \::/    /
  \:::\   \:::\    \       \:::\   \:::\ \/____/
   \:::\   \:::\____\       \:::\   \:::\____\
    \:::\  /:::/    /        \:::\  /:::/    /
     \:::\/:::/    /          \:::\/:::/    /
      \::::::/    /            \::::::/    /
       \::::/    /              \::::/    /
        \::/    /                \::/____/
         \/____/

sg is the CLI tool that Sourcegraph developers can use to develop Sourcegraph. Learn more about it here.