Socket
Book a DemoInstallSign in
Socket

@oltodo/qml-parser

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oltodo/qml-parser

A QML parser to generate AST documents

Source
npmnpm
Version
0.2.0-beta.1
Version published
Weekly downloads
7
-73.08%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Build status

qmlfmt

qmlfmt - command line application that formats QML files

Build instructions

Requires

  • CMake 3.0 or later
  • Qt 5.2 or later.
  • Tested with Visual Studio 2017 and mingw 4.9.1.
    • Should also compile on Linux, but not tested.
  • Optionally QtCreator source code.
    • If not present, it will be downloaded as part of the build.

Usage

Usage: qmlfmt [options] path

Without an explicit path, it processes the standard input. Given a file, it operates on that file; given a directory, it operates on all qml files in that directory, recursively. (Files starting with a period are ignored.) By default, qmlfmt prints the reformatted sources to standard output.

Options:

-?, -h, --help  Displays this help.
-v, --version   Displays version information.
-d              Do not print reformatted sources to standard output. If a
                file's formatting is different than qmlfmt's, print diffs to
                standard output.
-e              Print all errors.
-l              Do not print reformatted sources to standard output. If a
                file's formatting is different from qmlfmt's, print its name
                to standard output.
-w              Do not print reformatted sources to standard output. If a
                file's formatting is different from qmlfmt's, overwrite it
                with qmlfmt's version.

Arguments:

path            file or directory to process. If not set, qmlfmt will process
                the standard input.

FAQs

Package last updated on 28 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts