1. a4geru/awesome-emoji@1.1.0

a4geru/awesome-emoji@1.1.0

Sections
Display an emoji several times
Created: December 15, 2018Version Published: December 30, 2018Releases: 18
Org Usage:
< 25

Orb Quick Start Guide

Use CircleCI version 2.1 at the top of your .circleci/config.yml file.

1 version: 2.1

Add the orbs stanza below your version, invoking the orb:

1 2 orbs: awesome-emoji: a4geru/awesome-emoji@1.1.0

Use awesome-emoji elements in your existing workflows and jobs.

Opt-in to use of uncertified orbs on your organization’s Security settings page.

Commands

echo

Show command Source
PARAMETER
DESCRIPTION
REQUIRED
DEFAULT
TYPE
emoji
emoji name
No
sushi
enum
time
number of display
No
10
integer
prefix
string add before emoji
No
''
string

Orb Source

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 # This code is licensed from CircleCI to the user under the MIT license. # See here for details: https://circleci.com/developer/ja/orbs/licensing version: 2.1 description: Display an emoji several times commands: echo: parameters: emoji: type: enum enum: ['sushi', 'beer'] description: emoji name default: sushi time: type: integer description: number of display default: 10 prefix: type: string description: string add before emoji default: '' steps: - run: name: echo command: emoji=`echo << parameters.emoji >> | tr '[:lower:]' '[:upper:]'`; bash -c "echo -n << parameters.prefix >>; for i in {0..<< parameters.time >>};do echo -ne \$(eval 'echo \$$(echo $emoji)'); done" environment: SUSHI: "\\U0001F363" BEER: "\\U0001F37A"
開発者向け最新情報
ビルド最適化のためのヒントを手に入れましょう。
または、リサーチパネルに参加して フィードバックをお寄せください。
このフォームを送信することで、当社の利用規約およびプライバシーポリシーに同意したものと見なされます。