Skip to content

Commands ​

Run ifc --help or ifc <command> --help for full flag details.

Project setup ​

CommandDescription
ifc initCreate ifc.yaml and .ifc/ in the current directory
ifc loginAuthenticate with the ifc7.dev hub (device flow)

Owned interfaces ​

CommandDescription
ifc addTrack a local specification file as an owned interface
ifc scan [path]Find untracked OpenAPI / JSON Schema files and add them
ifc commitRecord owned interface files into the local manifest
ifc statusShow whether owned files differ from the local manifest
ifc diff <name|slug>Unified diff of an owned file vs the latest manifest revision
ifc checkout [name|slug]...Update owned files from the local manifest (--force overwrites)
ifc lint [name|path]...Lint owned interfaces or spec files
ifc pushPush committed owned interfaces to the hub

Remote interfaces ​

CommandDescription
ifc useTrack a remote hub interface in this project
ifc fetchPull tracked interfaces from the hub into the local manifest

Analysis ​

CommandDescription
ifc compare <before> <after>Compare two specs for breaking changes

Coming soon ​

CommandDescription
ifc genGenerate code from an interface

Tips ​

  • Prefer ifc lint before commit and push.
  • After fetch for owned interfaces, use checkout so disk files match the manifest.
  • Hub credentials from ifc login also work with the MCP server.

IFC7 interface hub