Comments (3)
Hey @j-quelly! You're using the old "CLI" (@percy/agent) docs with the new CLI package. The new proper CLI snapshot
docs are located here: https://docs.percy.io/docs/cli-snapshot
I've added a warning to the top of the current snapshot docs (for @percy/agent). 👍🏼 We're aiming to have @percy/agent
fully deprecated by the end of the quarter and all SDKs migrated over to the new toolchain (follow along on #57)
As for the globs, can you add --verbose
to get debug logs?
from cli.
Hey @j-quelly! I wanted to add that the globs and your arguments are likely not being interpreted correctly.
For instance, in your second example your shell is automatically expanding the glob (as mine does). That’s why the error is from zsh and not Percy. You’ll want to make sure you add quotes to the glob to prevent that from happening.
For your last example, you have the ignore flag followed by three directories, but how will the command know which arguments belong to the flag and which arguments might be positional arguments? It can’t, so it only treats the first arg as the value and ignores the rest.
To use multiple globs, you must specify the flag multiple times (--ignore blog --ignore docs --ignore legacy-docs
). You could also construct a single glob to match all files (e.g. --ignore "{blog,docs,legacy-*}"
).
Hope this helps!
from cli.
Going to close out but feel free to keep commenting :)
from cli.
Related Issues (20)
- Allow per-snapshot configuration of discovery.networkIdleTimeout HOT 2
- storybook field is no longer working in the config file HOT 1
- v.1.26.3 breaks storybook config HOT 1
- Error: Navigation failed: Timed out waiting for the page load event - breaks our tests HOT 9
- 500 Internal Server Error - GET https://registry.npmjs.org/@percy%2fcli-config - KV GET failed: 401 Unauthorized HOT 2
- Please allow longer network idle timeouts HOT 2
- Cannot read properties of undefined (reading 'id') HOT 1
- Set browser prefers-color-scheme to test apps in dark mode HOT 1
- H
- [percy:core] Error : Timed out waiting for network requests to idle HOT 1
- Percy is not running, disabling snapshot HOT 4
- Browserstack: Build not created, Error: connect ECONNREFUSED HOT 3
- Bumping to different versions [Dependabot] HOT 1
- Reference Error: Excessive alias count indicates a resource exhaustion attack in percy url yaml with 360 url items HOT 2
- [percy] ParseError: Unexpected argument 'storybook'
- Percy exec fails binding to ipv6 HOT 2
- 413 Payload Too Large
- static.ignore option doesn't work
- Using PERCY_ENABLE can lead to NPE HOT 4
- V1.28.2 introduces a bug causing our CI to fail due to bad requests HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.