Skip to content

Instantly share code, notes, and snippets.

@judell
Last active September 27, 2021 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judell/2777fefed2d7183a8644ac60725afd7b to your computer and use it in GitHub Desktop.
Save judell/2777fefed2d7183a8644ac60725afd7b to your computer and use it in GitHub Desktop.
Clone a new steampipe plugin from steampipe-plugin-hello

To make a new steampipe plugin repo

in bash

cd ~

git clone https://github.com/judell/steampipe-plugin-hello.git

cd ~/steampipe-plugin-hello

$ git checkout -b hypothesis

$ cp -R . ~/steampipe-plugin-hypothesis

cd ~/steampipe-plugin-hypothesis

mv ./hello ./hypothesis

mv ./hypothesis/table_hello.go ./hypothesis/table_hypothesis.go

mv ./docs/tables/hello.md ./docs/tables/hypothesis.md

mv ./config/hello.spc ./config/hypothesis.spc

in vscode

replace in files hello hypothesis

replace in files tablehypothesis -> tableHypothesis

in bash

cp ./config/hypothesis.spc ~/.steampipe/config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment