func init() {
    RootCmd.AddCommand(FolderCmd)
    var List bool
    FolderCmd.Flags().StringP("add", "a", "", "add a new folder")
    FolderCmd.Flags().StringP("delete", "d", "", "delete a folder")
    FolderCmd.Flags().BoolVarP(&List, "list", "l", false, "list current folders")
    FolderCmd.Flags().StringP("show", "s", "", "show contents of a folder")
}
------------------ INIT COBRA FOLDER CMD ------------------ //
----------------------------------------------------------- //
package cmd
import (
    "bytes"
    "fmt"
    "net/url"
    "os"
    "strings"
    "github.com/spf13/cobra"
)