Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GitHub Enterprise gist sync #237

Closed
howmuch515 opened this issue Jan 17, 2024 · 0 comments
Closed

Add support for GitHub Enterprise gist sync #237

howmuch515 opened this issue Jan 17, 2024 · 0 comments
Labels
feature-request Feature Request

Comments

@howmuch515
Copy link
Contributor

Is there a way to synchronize my snippets to the gist on GitHub Enterprise Server? If not, I would be pleased if synchronization with GitHub Enterprise Server could be achieved with a configuration like the following.

[General]
  snippetfile = "path/to/snippet" # specify snippet directory
  editor = "vim"                  # your favorite text editor
  column = 40                     # column size for list command
  selectcmd = "fzf"               # selector command for edit command (fzf or peco)
  backend = "ghe"                # specify backend service to sync snippets (gist or gitlab, default: gist)
  sortby  = "description"         # specify how snippets get sorted (recency (default), -recency, description, -description, command, -command, output, -output)
  cmd = ["sh", "-c"]              # specify the command to execute the snippet with


[GHE]
  url = "https://example.com"
  file_name = "pet-snippet.toml"  # specify gist file name
  access_token = ""               # your access token
  gist_id = ""                    # Gist ID
  public = false                  # public or priate
  auto_sync = false               # sync automatically when editing snippets
@RamiAwar RamiAwar added the feature-request Feature Request label Jan 30, 2024
Repository owner locked and limited conversation to collaborators Jan 30, 2024
@RamiAwar RamiAwar converted this issue into discussion #245 Jan 30, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
feature-request Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants