appdetect

package
v1.16.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2020 License: BSD-4-Clause, MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRemote

func AddRemote(url string, name string) error

func CurrentApp

func CurrentApp(c *cli.Context) string

func DetectGit

func DetectGit() (string, bool)

func ScalingoRepo added in v1.1.0

func ScalingoRepo(directory string, remoteName string) (string, error)

ScalingoRepo searches into the current directory and its parent for a remote named remoteName or scalingo-<remoteName>.

It returns the application name and an error.

func ScalingoRepoAutoComplete added in v1.16.6

func ScalingoRepoAutoComplete(dir string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL