nova-command-runner icon indicating copy to clipboard operation
nova-command-runner copied to clipboard

does not show commands: nova-command-runner

Open gianmarxWebmapp opened this issue 4 years ago • 1 comments

I have installed the following package: https://novapackages.com/packages/guratr/nova-command-runner

unfortunately it does not show me the commands despite having decompressed them:

in config/nova-command-runner.php

return [
    'commands' => [
        'Route cache'      => ['run' => 'route:cache', 'type' => 'info', 'group' => 'Cache'],
        'Config cache'     => ['run' => 'config:cache', 'type' => 'info', 'group' => 'Cache'],
        'View cache'       => ['run' => 'view:cache', 'type' => 'info', 'group' => 'Cache'],

        'Nedo' => ['run' => 'view:cache', 'type' => 'info', 'group' => 'Cache'],

        'Route clear'     => ['run' => 'route:clear', 'type' => 'warning', 'group' => 'Clear Cache'],
        'Config clear'    => ['run' => 'config:clear', 'type' => 'warning', 'group' => 'Clear Cache'],
        'View clear'      => ['run' => 'view:clear', 'type' => 'warning', 'group' => 'Clear Cache'],

        'Up'   => ['run' => 'up', 'type' => 'success', 'group' => 'Maintenance'],
        'Down' => ['run' => 'down', 'options' => ['--allow' => ['127.0.0.1']], 'type' => 'dark', 'group' => 'Maintenance'],
    ],
    'history'  => 10,
];

unfortunately I don't see in display

Schermata 2021-02-01 alle 11 55 15

gianmarxWebmapp avatar Feb 01 '21 11:02 gianmarxWebmapp

give me following error vendor.js?id=3810bf2033e3670b2acc:1 GET http://trello-monitor.test/nova-vendor/guratr/command-runner/commands/ 404 (Not Found)

in NovaServiceProvider:

public function tools()
    {
        return [
            new \Guratr\CommandRunner\CommandRunner,
        ];
    }

gianmarxWebmapp avatar Feb 01 '21 11:02 gianmarxWebmapp