Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mod.sp formating #4081

Closed
remyleone opened this issue Jan 23, 2024 · 3 comments
Closed

Add support for mod.sp formating #4081

remyleone opened this issue Jan 23, 2024 · 3 comments
Labels
enhancement New feature or request stale No recent activity has been detected on this issue/PR and it will be closed

Comments

@remyleone
Copy link

Is your feature request related to a problem? Please describe.

I sometimes have consistency in formatting with my mod.sp. I would like to have a format subcommand in the steampipe binary that would handle that for me.

Describe the solution you'd like

steampipe mod fmt or any other formatting sub command in the steampipe binary

Describe alternatives you've considered

Using terraform but it does not allow for sp file extensions

Additional context
Add any other context or screenshots about the feature request here.

@remyleone remyleone added the enhancement New feature or request label Jan 23, 2024
@k-kawa
Copy link

k-kawa commented Feb 29, 2024

FYI.
I use https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt as alternative. *.sp and *.spc files are written in HCL so that hclfmt works.

go install github.com/hashicorp/hcl/v2/cmd/hclfmt@latest

find . -name '*.sp' | xargs hclfmt -w 
find . -name '*.spc' | xargs hclfmt -w 

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Apr 29, 2024
Copy link

This issue was closed because it has been stalled for 90 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale No recent activity has been detected on this issue/PR and it will be closed
Projects
None yet
Development

No branches or pull requests

2 participants