Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/cli/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func init() {

var configureCmd = &cobra.Command{
Use: "configure",
Short: "transforms layer definition configurations in an actual layer definition file",
Short: "Transforms layer definition configurations in an actual layer definition file",
Long: `Transforms layer definition configurations in an actual layer definition file.

This command is temporary. It will eventually be replaced by a Terraform provider.
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/kill.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func init() {
var killCmd = &cobra.Command{
Use: "kill <layer> <instance>",
Args: cobra.MinimumNArgs(2),
Short: "destroys a layer instance",
Short: "Destroys a layer instance",
Long: `The kill command destroys a layer instance.

Please notice that the kill command cannot destroy a layer instance which has dependants. To delete a layer instance with dependants, you must first delete all of its dependants.`,
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func init() {
var outputCmd = &cobra.Command{
Use: "output <layer> <instance>",
Args: cobra.MinimumNArgs(2),
Short: "reads all output variables from the provided layer instance",
Short: "Reads all output variables from the provided layer instance",
Long: `The output command reads all output variables from the given layer instance and prints them as json to standard output.`,
Run: func(cmd *cobra.Command, args []string) {
logger := hclog.Default()
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func init() {

var refreshCmd = &cobra.Command{
Use: "refresh <layer> <instance>",
Short: "refreshes a layer instance",
Short: "Refreshes a layer instance",
Long: `The refresh command updates a layer instance.

This command updates the layer instance resources to comply with the current version of the layer definition it belongs to, it also can be used to update values for the layer instance variables.`,
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/spawn.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var alphanumericRegex = regexp.MustCompile("^[A-Za-z0-9][A-Za-z0-9_-]*[A-Za-z0-9

var spawnCmd = &cobra.Command{
Use: "spawn <layer> [desired_id]",
Short: "creates a layer instance",
Short: "Creates a layer instance",
Long: `The spawn command creates a layer instance.

Whenever a desired ID is not provided, Layerform will generate a random UUID for the layer instance.
Expand Down
174 changes: 0 additions & 174 deletions mocks/internal_/storage/FileLike.go
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @sushant102004, the file is still deleted.

If you are having a hard time working with git to bring it back, another way to fix this is to just run make mocks, it should regenerate the file, then you can commit it back.

Let me know if you need further help, I can also just grab your branch and fix it for you, just want to give a chance for you to fix it yourself if you want, but please don't feel like you need to do anything.

Thank you so much for the effort so far. ❤️

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank your sir let me fix it.

This file was deleted.