rubotnik

(★ 188)

"Bot-end" Ruby framework to quickly build and launch a Facebook Messenger chatbot

파일 탐색기

  • .gitignore
  • .rspec
  • .travis.yml
  • Gemfile
  • LICENSE.txt
  • Rakefile
  • README.md
  • rubotnik.gemspec

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

bind

설명 보기 ▼

bash 단축키 및 변수를 관리하기 위한 bash 내장.
더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#index-bind>.

bind {{-p|-P}}

모든 바인딩된 명령어와 해당 단축키를 나열:

bind -q {{command}}

단축키에 대한 명령어를 쿼리:

bind -x '"{{key_sequence}}":{{command}}'

키 바인딩:

🔍

bundle

설명 보기 ▼

Ruby 프로그래밍 언어의 종속성 관리자.
더 많은 정보: <https://bundler.io/man/bundle.1.html>.

bundle install

작업 디렉토리에 있는 `Gemfile`에 정의된 모든 gem을 설치:

bundle exec {{command}} {{arguments}}

현재 번들의 컨텍스트에서 명령을 실행:

bundle update

`Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성:

🔍

gem

설명 보기 ▼

Ruby 프로그래밍 언어용 패키지 관리자.
더 많은 정보: <https://guides.rubygems.org/command-reference/>.

gem search {{regex}} {{[-a|--all]}}

원격 gem을 검색하고 사용 가능한 모든 버전을 표시:

gem install {{gem_name}}

최신 버전의 gem을 설치:

gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}

특정 버전의 gem을 설치:

🔍

git add

설명 보기 ▼

Stage changed files for a commit.

git add {{path/to/file}}

Stage a file for a commit:

git add {{[-A|--all]}}

Add all files (tracked and untracked):

git add .

Add all files recursively starting from the current folder:

🔍

git init

설명 보기 ▼

Initialize a new local Git repository.

git init

Initialize a new local repository:

git init {{[-b|--initial-branch]}} {{branch_name}}

Initialize a repository with the specified name for the initial branch:

git init --object-format sha256

Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):

🔍

git push

설명 보기 ▼

Push commits to a remote repository.

git push

Send local changes in the current branch to its default remote counterpart:

git push {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart:

git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}

Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:

🔍

heroku

설명 보기 ▼

Heroku 애플리케이션 생성 및 관리.
더 많은 정보: <https://devcenter.heroku.com/articles/heroku-cli#get-started-with-the-heroku-cli>.

heroku login

Heroku 계정에 로그인:

heroku create

Heroku 애플리케이션 생성:

heroku logs --app {{app_name}}

애플리케이션 로그 표시:

🔍

ngrok

설명 보기 ▼

로컬에서 실행 중인 웹 서비스에 공용 엔드포인트로부터 안전한 터널을 생성하는 리버스 프록시.
더 많은 정보: <https://ngrok.com/docs/agent/cli>.

ngrok http {{80}}

지정된 포트로 로컬 HTTP 서비스 노출:

ngrok http {{example.com}}:{{80}}

특정 호스트에서 로컬 HTTP 서비스 노출:

ngrok http https://localhost

로컬 HTTPS 서버 노출:

🔍

rake

설명 보기 ▼

Ruby용 Make와 유사한 프로그램.
`rake`의 작업은 Rakefile에 지정됩니다.
더 많은 정보: <https://ruby.github.io/rake/>.

rake

`default` Rakefile 작업 실행:

rake {{task}}

특정 작업 실행:

rake --jobs {{n}}

동시에 `n`개의 작업 병렬 실행 (기본값은 CPU 코어 수 + 4):

🔍

say

설명 보기 ▼

텍스트를 음성으로 변환.
더 많은 정보: <https://keith.github.io/xcode-man-pages/say.1.html>.

say "{{I like to ride my bike.}}"

문구를 소리내어 말하기:

say --input-file {{filename.txt}}

[f]파일을 소리내어 읽기:

say --voice {{voice}} --rate {{words_per_minute}} "{{I'm sorry Dave, I can't let you do that.}}"

사용자 지정 음성과 속도로 문구 말하기:

// repository documentation