ijlyttle / ghentr

Templating Functions to Use with GitHub Enterprise
https://ijlyttle.github.io/ghentr/
GNU General Public License v3.0
17 stars 3 forks source link

Functions and defaults to be created #1

Closed ijlyttle closed 6 years ago

ijlyttle commented 7 years ago

Let's say that you wish to call your GitHub Enterprise instance "foo".

You will want to create functions:

install_github_foo()

use_github_foo()

github_foo_pat()

Also need name for environment_variable GITHUB_FOO_PAT

ijlyttle commented 6 years ago

How about an overall function like:

use_github_enterprise(suffix, name, host) {

  use_install_ghe(suffix, name, host)

  use_ghe(suffix, name, host)

  use_ghe_pat(suffix, name, host)

  # print out following steps

  NULL
}

May have to recreate the style functions from usethis

ijlyttle commented 6 years ago

Done