|
|
@ -18,11 +18,10 @@ package main
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"errors"
|
|
|
|
"path/filepath"
|
|
|
|
|
|
|
|
"fmt"
|
|
|
|
"fmt"
|
|
|
|
"os"
|
|
|
|
"os"
|
|
|
|
|
|
|
|
"path/filepath"
|
|
|
|
|
|
|
|
|
|
|
|
"github.com/codegangsta/cli"
|
|
|
|
|
|
|
|
"github.com/codegangsta/cli"
|
|
|
|
"github.com/codegangsta/cli"
|
|
|
|
"github.com/kubernetes/helm/pkg/chart"
|
|
|
|
"github.com/kubernetes/helm/pkg/chart"
|
|
|
|
"github.com/kubernetes/helm/pkg/format"
|
|
|
|
"github.com/kubernetes/helm/pkg/format"
|
|
|
@ -93,6 +92,8 @@ func createChart(c *cli.Context) error {
|
|
|
|
_, err := chart.Create(cf, dir)
|
|
|
|
_, err := chart.Create(cf, dir)
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func pack(cxt *cli.Context) error {
|
|
|
|
func pack(cxt *cli.Context) error {
|
|
|
|
args := cxt.Args()
|
|
|
|
args := cxt.Args()
|
|
|
|
if len(args) < 1 {
|
|
|
|
if len(args) < 1 {
|
|
|
|