|
|
|
|
@ -4,10 +4,11 @@ import (
|
|
|
|
|
"fmt"
|
|
|
|
|
"path/filepath"
|
|
|
|
|
|
|
|
|
|
"github.com/xlab/treeprint"
|
|
|
|
|
|
|
|
|
|
"github.com/hashicorp/terraform/internal/configs"
|
|
|
|
|
"github.com/hashicorp/terraform/internal/getproviders"
|
|
|
|
|
"github.com/hashicorp/terraform/internal/tfdiags"
|
|
|
|
|
"github.com/xlab/treeprint"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// ProvidersCommand is a Command implementation that prints out information
|
|
|
|
|
@ -149,7 +150,7 @@ func (c *ProvidersCommand) populateTreeNode(tree treeprint.Tree, node *configs.M
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const providersCommandHelp = `
|
|
|
|
|
Usage: terraform [global options] providers [dir]
|
|
|
|
|
Usage: terraform [global options] providers [DIR]
|
|
|
|
|
|
|
|
|
|
Prints out a tree of modules in the referenced configuration annotated with
|
|
|
|
|
their provider requirements.
|
|
|
|
|
|