• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 13971954893

20 Mar 2025 02:35PM UTC coverage: 90.189% (-0.3%) from 90.475%
13971954893

push

github

thschmitt
Offline support for plugins

111 of 172 new or added lines in 6 files covered. (64.53%)

5966 of 6615 relevant lines covered (90.19%)

1.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/commandline/offline_command_handler.go
1
package commandline
2

3
import (
4
        "github.com/UiPath/uipathcli/log"
5
        "github.com/UiPath/uipathcli/plugin"
6
)
7

8
// The offlineCommandHandler downloads all external resources to a local folder
9
// so that the uipathcli can be used without downloading any additional external
10
// dependencies. This can be useful in airgapped scenarios.
11
type offlineCommandHandler struct {
12
        Logger log.Logger
13
}
14

NEW
15
func (h offlineCommandHandler) Execute() error {
×
NEW
16
        manager := plugin.NewExternalPluginManager(h.Logger)
×
NEW
17
        return manager.Offline()
×
NEW
18
}
×
19

NEW
20
func newOfflineCommandHandler(logger log.Logger) *offlineCommandHandler {
×
NEW
21
        return &offlineCommandHandler{logger}
×
NEW
22
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc