dockerfile-parser-rs 3.3.0

The ultimate Rust library for parsing, modifying, and generating Dockerfiles
Documentation
1
2
3
4
5
6
use crate::ast::Instruction;

pub const fn parse(arguments: Vec<String>) -> Instruction {
    let ports = arguments;
    Instruction::Expose { ports }
}