conan-io / conan-io/docs

2.0 migration tutorial should mention removal of --json argument from commands

Open
#3,227 1 comment 0 reactions 1 assignee Claimed by @czoido View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

In 1.X I used to use `--json path/to/file.json` with commands like `conan create`. With 2.0 I suppose I am expected to use `--format json` and redirect stdout to a file? So `conan create --json x.json` would turn into `conan create -f json > x.json`.
If that is the case, I believe it should be mentioned in [Conan migration guide to 2.0 » Commands](https://docs.conan.io/1/migrating_to_2.0/commands.html).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.