You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Command Deck
2
2
3
-

3
+
Convenient, unobstrustive, dev-oriented Rails engine that allows you to run custom action and quick admin taskss through a floating panel without the need for opening Rails console.
4
4
5
-
Command Deck is a tiny, dev-only Rails engine that gives you a floating panel to run custom actions and quick admin tasks without opening Rails console.
5
+
You define panels/tabs/actions with a minimal DSL. Each action can declare a few parameters (text, boolean, number, selector), run Ruby code, and return a JSON-ish result shown in the UI.
6
6
7
-
You define panels/tabs/actions in a minimal DSL. Each action can declare a few params (text, boolean, number, selector), run Ruby code, and return a JSON-ish result shown in the UI.
7
+

8
8
9
9
## Installation
10
10
@@ -13,17 +13,16 @@ Add the gem to your application:
13
13
```ruby
14
14
# Gemfile (development only recommended)
15
15
group :developmentdo
16
-
gem "command_deck"
16
+
gem 'command_deck'
17
17
end
18
18
```
19
19
20
-
Mount the engine (dev only):
20
+
Mount the engine:
21
21
22
22
```ruby
23
23
# config/routes.rb
24
-
ifRails.env.development?
25
-
mount CommandDeck::Engine => "/command_deck"
26
-
end
24
+
25
+
mount CommandDeck::Engine => '/command_deck'ifRails.env.development?
27
26
```
28
27
29
28
Start your app and the floating panel should appear.
@@ -33,23 +32,23 @@ Start your app and the floating panel should appear.
33
32
Create Ruby files in `app/command_deck/**/*.rb`. Example:
0 commit comments